From c0b04ff196a7b790f0a7e1431c9bcf5e011d6316 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 11 Nov 2021 21:23:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8D=B8=E8=BD=BD=E6=97=B6=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E7=B3=BB=E7=BB=9F=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gui/build/installer.nsh | 3 +++ packages/gui/vue.config.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/gui/build/installer.nsh 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',