installer: switch Windows target from NSIS to portable single-exe
Both electron-builder configs now produce a single-file portable .exe instead of an NSIS installer. Removes installer/uninstaller icons and the install-directory wizard — users can run the .exe directly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -24,12 +24,8 @@ extraResources:
|
|||||||
filter:
|
filter:
|
||||||
- "**/*"
|
- "**/*"
|
||||||
win:
|
win:
|
||||||
target: nsis
|
target: portable
|
||||||
artifactName: ${productName}-${version}-Setup.${ext}
|
artifactName: ${productName}-${version}-Portable.${ext}
|
||||||
icon: build/icon.ico
|
icon: build/icon.ico
|
||||||
nsis:
|
portable:
|
||||||
oneClick: false
|
artifactName: ${productName}-${version}-Portable.${ext}
|
||||||
allowToChangeInstallationDirectory: true
|
|
||||||
perMachine: false
|
|
||||||
installerIcon: build/icon.ico
|
|
||||||
uninstallerIcon: build/icon.ico
|
|
||||||
|
|||||||
@@ -23,12 +23,8 @@ extraResources:
|
|||||||
filter:
|
filter:
|
||||||
- "**/*"
|
- "**/*"
|
||||||
win:
|
win:
|
||||||
target: nsis
|
target: portable
|
||||||
artifactName: ${productName}-${version}-Setup.${ext}
|
artifactName: ${productName}-${version}-Portable.${ext}
|
||||||
icon: build/icon.ico
|
icon: build/icon.ico
|
||||||
nsis:
|
portable:
|
||||||
oneClick: false
|
artifactName: ${productName}-${version}-Portable.${ext}
|
||||||
allowToChangeInstallationDirectory: true
|
|
||||||
perMachine: false
|
|
||||||
installerIcon: build/icon.ico
|
|
||||||
uninstallerIcon: build/icon.ico
|
|
||||||
|
|||||||
Reference in New Issue
Block a user