mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 23:53:45 +08:00
feat: add windows uninstall script
This commit is contained in:
parent
62ddf26150
commit
86d2234713
5
packages/windows/nsis_hooks.sh
Normal file
5
packages/windows/nsis_hooks.sh
Normal file
@ -0,0 +1,5 @@
|
||||
!define NSIS_HOOK_PREUNINSTALL "NSIS_HOOK_PREUNINSTALL_"
|
||||
|
||||
!macro NSIS_HOOK_PREUNINSTALL_
|
||||
ExecWait '"$INSTDIR\uninstall-service.exe"'
|
||||
!macroend
|
@ -16,7 +16,8 @@
|
||||
"installerIcon": "icons/icon.ico",
|
||||
"languages": ["SimpChinese", "English"],
|
||||
"installMode": "perMachine",
|
||||
"template": "./template/installer.nsi"
|
||||
"template": "./template/installer.nsi",
|
||||
"installerHooks": "../packages/windows/nsis_hooks.sh"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user