[deskotp/tauri] update tauri, remove the need for nsis template
This commit is contained in:
14
desktop/tauri/src-tauri/templates/nsis_install_hooks.nsh
Normal file
14
desktop/tauri/src-tauri/templates/nsis_install_hooks.nsh
Normal file
@@ -0,0 +1,14 @@
|
||||
!define NSIS_HOOK_POSTINSTALL "NSIS_HOOK_POSTINSTALL_"
|
||||
|
||||
!macro NSIS_HOOK_POSTINSTALL_
|
||||
ExecWait '"$INSTDIR\portmaster-start.exe" install core-service --data="$INSTDIR\data"'
|
||||
!macroend
|
||||
|
||||
|
||||
!define NSIS_HOOK_PREUNINSTALL "NSIS_HOOK_PREUNINSTALL_"
|
||||
|
||||
!macro NSIS_HOOK_PREUNINSTALL_
|
||||
ExecWait 'sc.exe stop PortmasterCore'
|
||||
ExecWait 'sc.exe delete PortmasterCore'
|
||||
!macroend
|
||||
|
||||
Reference in New Issue
Block a user