LD-KickWatch/src-tauri/installer-hooks.nsh

9 lines
353 B
NSIS

; LD KickWatch NSIS hooks
; The app stores its config, logs and the WebView2 profile (Kick session cookies)
; outside the install directory, so a plain uninstall would leave them behind.
!macro NSIS_HOOK_POSTUNINSTALL
RMDir /r "$LOCALAPPDATA\LDKickWatch"
RMDir /r "$LOCALAPPDATA\com.ldkickwatch.desktop"
RMDir /r "$APPDATA\LDKickWatch"
!macroend