diff --git a/src-tauri/nsis/template.nsi b/src-tauri/nsis/template.nsi index ad8f4996..e4578d0c 100644 --- a/src-tauri/nsis/template.nsi +++ b/src-tauri/nsis/template.nsi @@ -858,6 +858,27 @@ Section Uninstall Delete "$INSTDIR\\{{this}}" {{/each}} + ; Dlete config.json + Delete "$INSTDIR\config.json" + + ; Delete process.log + Delete "$INSTDIR\process.log" + + ; Delete errror.log + Delete "$INSTDIR\error.log" + + ; Delete update.exe + Delete "$INSTDIR\update.exe" + + ; Delete _internal folder + RmDir /r "$INSTDIR\_internal" + + ; Delete log folder + RmDir /r "$INSTDIR\logs" + + ; Delete weights folder + RmDir /r "$INSTDIR\weights" + ; Delete uninstaller Delete "$INSTDIR\uninstall.exe" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e47c9aef..040bce33 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -75,7 +75,7 @@ "nsis": { "template": "nsis/template.nsi", "license": "../LICENSE", - "installMode": "both", + "installMode": "currentUser", "displayLanguageSelector": true } }