mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
24 lines
812 B
NSIS
24 lines
812 B
NSIS
!macro NSIS_HOOK_PREINSTALL
|
|
DetailPrint "Stopping running Claude Code Haha sidecars..."
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar-x86_64-pc-windows-msvc.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar-aarch64-pc-windows-msvc.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar.exe'
|
|
Pop $0
|
|
Sleep 1000
|
|
!macroend
|
|
|
|
!macro NSIS_HOOK_PREUNINSTALL
|
|
DetailPrint "Stopping running Claude Code Haha processes..."
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-code-desktop.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar-x86_64-pc-windows-msvc.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar-aarch64-pc-windows-msvc.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar.exe'
|
|
Pop $0
|
|
Sleep 1000
|
|
!macroend
|