Compare commits

..

3 Commits

Author SHA1 Message Date
HorizonCode f7fff7748a chore: format 2026-05-21 15:31:13 +02:00
HorizonCode d5286263b9 chore: add nsis hook on uninstall to delete user .ezpplauncher dir 2026-05-21 15:30:54 +02:00
HorizonCode 1cc1a4a0c3 chore: remove theme debug script 2026-05-21 14:54:33 +02:00
4 changed files with 16 additions and 3 deletions
-1
View File
@@ -5,7 +5,6 @@
"type": "module",
"scripts": {
"debug": "bun run tauri dev",
"debug:theme": "bun run tauri dev -- -- \"C:\\Users\\moebius\\Desktop\\dance.ezpplauncher-theme\"",
"build": "bun ./scripts/build.ts",
"vite:dev": "vite dev",
"vite:build": "vite build && exit 0",
+15
View File
@@ -4,3 +4,18 @@
Exec '"$INSTDIR\${MAINBINARYNAME}.exe"'
${EndIf}
!macroend
!macro NSIS_HOOK_PREUNINSTALL
${If} $DeleteAppDataCheckboxState = 1
MessageBox MB_YESNO "Do you want to remove all EZPPLauncher data and themes?" IDYES do_delete IDNO skip_delete
do_delete:
StrCpy $R9 1
skip_delete:
${EndIf}
!macroend
!macro NSIS_HOOK_POSTUNINSTALL
${If} $R9 = 1
RMDir /r "$PROFILE\.ezpplauncher"
${EndIf}
!macroend
-1
View File
@@ -56,7 +56,6 @@ pub fn run() {
app.emit("opened", files.clone()).ok();
}
}));
}