build: drop MSI installer, NSIS exe only
CI / typecheck + test + build (windows) (push) Canceled after 0s

electron-updater never supported MSI auto-updates; the exe is the only
installer from v1.0.22 on. release.cjs no longer expects/uploads the msi.
This commit is contained in:
Bill committed 2026-10-08 13:25:01 +08:00
1 parent 40336d014d
commit 14f5963706
8 files changed
+23 -24

No files matched your search

+2 -13
View File
@@ -16,23 +16,12 @@ asarUnpack:
# @lydell/node-pty ships prebuilt binaries; do not trigger a rebuild.
npmRebuild: false
# Electron-updater only supports NSIS auto-updates (MSI has no update channel).
# The NSIS .exe + latest.yml get uploaded together; MSI is manual/enterprise only.
# NSIS exe is the only installer: electron-updater only supports NSIS
# auto-updates, so the MSI (no update channel) was dropped in v1.0.22.
win:
target:
- target: msi
- target: nsis
msi:
oneClick: false
# Fixed upgrade code keeps the upgrade chain consistent across releases.
upgradeCode: "{5ab9f79e-e4eb-4052-9df6-3af3a301ab0a}"
artifactName: ${productName}-${version}-setup.${ext}
# Shortcuts need an <Icon>; build/icon.png (auto-converted to .ico) provides it.
# Without an icon the WiX shortcut Icon reference fails to link (LGHT0094).
createDesktopShortcut: true
createStartMenuShortcut: true
nsis:
oneClick: false
allowToChangeInstallationDirectory: true