diff --git a/packages/core/src/shell/scripts/extra-path/clear.bat b/packages/core/src/shell/scripts/extra-path/clear.bat deleted file mode 100644 index 86996b0..0000000 --- a/packages/core/src/shell/scripts/extra-path/clear.bat +++ /dev/null @@ -1 +0,0 @@ -sysproxy.exe set 1 diff --git a/packages/core/src/shell/scripts/extra-path/index.js b/packages/core/src/shell/scripts/extra-path/index.js index 09d5513..2311609 100644 --- a/packages/core/src/shell/scripts/extra-path/index.js +++ b/packages/core/src/shell/scripts/extra-path/index.js @@ -10,22 +10,11 @@ function getExtraPath () { return extraPath } -function getProxyExePath () { - const extraPath = getExtraPath() - return path.join(extraPath, 'sysproxy.exe') -} - -function getClearBatPath () { - const extraPath = getExtraPath() - return path.join(extraPath, 'clear.bat') -} - function getEnableLoopbackPath () { const extraPath = getExtraPath() return path.join(extraPath, 'EnableLoopback.exe') } + module.exports = { - getProxyExePath, getEnableLoopbackPath, - getClearBatPath, } diff --git a/packages/gui/build/installer.nsh b/packages/gui/build/installer.nsh deleted file mode 100644 index 5783923..0000000 --- a/packages/gui/build/installer.nsh +++ /dev/null @@ -1,3 +0,0 @@ -!macro customUnInit - ExecWait '"$INSTDIR\resources\extra\sysproxy.exe" set 1' -!macroend diff --git a/packages/gui/extra/clear.bat b/packages/gui/extra/clear.bat deleted file mode 100644 index 86996b0..0000000 --- a/packages/gui/extra/clear.bat +++ /dev/null @@ -1 +0,0 @@ -sysproxy.exe set 1 diff --git a/packages/gui/extra/sysproxy.exe b/packages/gui/extra/sysproxy.exe deleted file mode 100644 index 979858b..0000000 Binary files a/packages/gui/extra/sysproxy.exe and /dev/null differ diff --git a/packages/gui/vue.config.js b/packages/gui/vue.config.js index d339af5..500fb71 100644 --- a/packages/gui/vue.config.js +++ b/packages/gui/vue.config.js @@ -84,7 +84,6 @@ module.exports = defineConfig({ perMachine: true, allowElevation: true, allowToChangeInstallationDirectory: true, - include: './build/installer.nsh', }, mac: { icon: './build/mac/icon.icns',