Repository navigation
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
80 lines (73 loc) · 2.34 KB
/
Copy pathelectron-builder.yml
File metadata and controls
80 lines (73 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
appId: com.millwright.app
productName: Millwright
copyright: Copyright © 2026 Millwright Contributors
directories:
output: release
buildResources: build
files:
- dist/**/*
- assets/**/*
- package.json
- '!**/*.map'
- '!**/*.ts'
- '!src'
- '!tests'
- '!docs'
- '!*.md'
- '!tsconfig*.json'
- '!vite.config.ts'
- '!.env*'
extraResources:
- from: 'sidecar'
to: 'sidecar'
filter:
- '**/*'
- '!**/__pycache__/**'
- '!tests/**'
- from: 'vendor/python'
to: 'python'
win:
# P129: NSIS is back, alongside the zip. The P110 retreat to a bare zip traded one
# class of complaint (installer "unusable") for another (manual delete-and-extract on
# every release, no auto-update). The installer problems had identifiable causes —
# one-click with no UI on a 200 MB payload, upgrades failing while a stale sidecar
# python.exe still held resources/python/*.dll, and the SW Copilot → Millwright rename
# leaving two Programs-and-Features entries — all handled in build/installer.nsh.
target:
- target: nsis
arch: [x64]
- target: zip
arch: [x64]
icon: assets/icon.ico
artifactName: '${productName}-${version}-${arch}.${ext}'
# unsigned build: electron-updater must not demand a matching publisher certificate
verifyUpdateCodeSignature: false
nsis:
# assisted installer: the user SEES progress and picks the folder. A one-click install
# of a 200 MB payload shows nothing for ~20 s and gets killed as "hung".
oneClick: false
perMachine: false
allowElevation: true
allowToChangeInstallationDirectory: true
runAfterFinish: true
createDesktopShortcut: always
createStartMenuShortcut: true
shortcutName: Millwright
artifactName: '${productName}-Setup-${version}-${arch}.${ext}'
uninstallDisplayName: Millwright
# our own uninstaller asks before touching settings / history (see installer.nsh);
# electron-builder's flag would delete them unconditionally
deleteAppDataOnUninstall: false
# blockmap → electron-updater downloads only the changed blocks (a sidecar-only release
# is a few MB instead of 200)
differentialPackage: true
include: build/installer.nsh
installerIcon: assets/icon.ico
uninstallerIcon: assets/icon.ico
license: LICENSE
squirrelWindows: null
publish:
provider: github
owner: raylanlin
repo: Millwright
releaseType: release