Skip to content

Commit 82bf5eb

Browse files
committed
build(release): emit macOS zip artifacts and skip universal NSIS installer
- Add macOS zip target so electron-updater can perform in-place updates - Disable NSIS universal installer to emit only per-arch Windows builds - Include Lightcode-*.zip in the release workflow upload artifacts
1 parent 82dd02e commit 82bf5eb

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ jobs:
165165
path: |
166166
release/Lightcode-*.exe
167167
release/Lightcode-*.dmg
168+
release/Lightcode-*.zip
168169
release/Lightcode-*.AppImage
169170
release/Lightcode-*.deb
170171
release/latest*.yml

electron-builder.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ nsis:
135135
oneClick: false
136136
perMachine: false
137137
allowToChangeInstallationDirectory: true
138+
# Skip the combined multi-arch installer; emit only per-arch builds.
139+
buildUniversalInstaller: false
138140
artifactName: ${productName}-Setup-${version}-${arch}.${ext}
139141

140142
linux:
@@ -156,6 +158,12 @@ mac:
156158
arch:
157159
- x64
158160
- arm64
161+
# electron-updater requires a zipped app bundle for in-place macOS updates;
162+
# the DMG is install-only. Without zip, clients fail with "ZIP file not provided".
163+
- target: zip
164+
arch:
165+
- x64
166+
- arm64
159167
icon: build/icon.icns
160168
category: public.app-category.developer-tools
161169
artifactName: ${productName}-${version}-${arch}.${ext}

0 commit comments

Comments
 (0)