diff --git a/src-tauri/nsis/template.nsi b/src-tauri/nsis/template.nsi index ad8f4996..88fb5452 100644 --- a/src-tauri/nsis/template.nsi +++ b/src-tauri/nsis/template.nsi @@ -858,6 +858,24 @@ 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 log files + RmDir /r "$INSTDIR\logs" + + ; Delete weights files + RmDir /r "$INSTDIR\weights" + ; Delete uninstaller Delete "$INSTDIR\uninstall.exe"