optimize: 移除 `sysproxy.exe` 相关的所有内容。

pull/406/head
王良 2024-11-27 18:02:11 +08:00
parent f71fda1a30
commit 81c1433820
6 changed files with 1 additions and 18 deletions

View File

@ -1 +0,0 @@
sysproxy.exe set 1

View File

@ -10,22 +10,11 @@ function getExtraPath () {
return extraPath 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 () { function getEnableLoopbackPath () {
const extraPath = getExtraPath() const extraPath = getExtraPath()
return path.join(extraPath, 'EnableLoopback.exe') return path.join(extraPath, 'EnableLoopback.exe')
} }
module.exports = { module.exports = {
getProxyExePath,
getEnableLoopbackPath, getEnableLoopbackPath,
getClearBatPath,
} }

View File

@ -1,3 +0,0 @@
!macro customUnInit
ExecWait '"$INSTDIR\resources\extra\sysproxy.exe" set 1'
!macroend

View File

@ -1 +0,0 @@
sysproxy.exe set 1

Binary file not shown.

View File

@ -84,7 +84,6 @@ module.exports = defineConfig({
perMachine: true, perMachine: true,
allowElevation: true, allowElevation: true,
allowToChangeInstallationDirectory: true, allowToChangeInstallationDirectory: true,
include: './build/installer.nsh',
}, },
mac: { mac: {
icon: './build/mac/icon.icns', icon: './build/mac/icon.icns',