optimize: 移除 `sysproxy.exe` 相关的所有内容。
parent
f71fda1a30
commit
81c1433820
|
@ -1 +0,0 @@
|
||||||
sysproxy.exe set 1
|
|
|
@ -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,
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
!macro customUnInit
|
|
||||||
ExecWait '"$INSTDIR\resources\extra\sysproxy.exe" set 1'
|
|
||||||
!macroend
|
|
|
@ -1 +0,0 @@
|
||||||
sysproxy.exe set 1
|
|
Binary file not shown.
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue