diff --git a/packages/gui/build/installer.nsh b/packages/gui/build/installer.nsh new file mode 100644 index 00000000..57839237 --- /dev/null +++ b/packages/gui/build/installer.nsh @@ -0,0 +1,3 @@ +!macro customUnInit + ExecWait '"$INSTDIR\resources\extra\sysproxy.exe" set 1' +!macroend diff --git a/packages/gui/vue.config.js b/packages/gui/vue.config.js index ce8ad015..93e6faae 100644 --- a/packages/gui/vue.config.js +++ b/packages/gui/vue.config.js @@ -58,7 +58,8 @@ module.exports = { oneClick: false, perMachine: true, allowElevation: true, - allowToChangeInstallationDirectory: true + allowToChangeInstallationDirectory: true, + include: './build/installer.nsh' }, mac: { icon: './build/mac/icon.icns',