fix(electron-builder): disable warnings as errors for NSIS build to prevent uninstaller warnings (#227)

This commit is contained in:
Haze
2026-02-28 16:47:22 +08:00
committed by GitHub
Unverified
parent 8cda9235b3
commit a75b96f739

View File

@@ -118,6 +118,9 @@ win:
nsis:
oneClick: false
perMachine: false
# Avoid NSIS build failure: warning 6010 (_ci_StrContains "not referenced") is emitted when
# building the uninstaller, because that function is only used in the install macro.
warningsAsErrors: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: false
differentialPackage: true