From 97f06c66f397acb2da5d19365dbc21cbc277eeef Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:41:49 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Installer=20:=20?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB=E5=85=88?= =?UTF-8?q?=E3=81=8C=E3=82=B3=E3=83=B3=E3=83=94=E3=83=A5=E3=83=BC=E3=82=BF?= =?UTF-8?q?=E3=81=AE=E5=A0=B4=E5=90=88=E7=AE=A1=E7=90=86=E8=80=85=E6=A8=A9?= =?UTF-8?q?=E9=99=90=E3=81=8C=E5=BF=85=E8=A6=81=E3=81=AA=E3=81=9F=E3=82=81?= =?UTF-8?q?=E3=80=81=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E5=85=88=E3=82=92=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E3=81=AB?= =?UTF-8?q?=E5=88=B6=E9=99=90=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e47c9aef..c14a2d19 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": "perUser", "displayLanguageSelector": true } } From a21fd5aa96e26c88aeeb771c168aa541b96c316d Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:53:56 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Installer=20:=20?= =?UTF-8?q?=E3=82=A2=E3=83=B3=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E6=99=82=E3=81=AB=E8=BF=BD=E5=8A=A0=E3=81=A7=E7=94=9F?= =?UTF-8?q?=E6=88=90=E3=81=95=E3=82=8C=E3=81=9F=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=82=82=E5=89=8A=E9=99=A4=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/nsis/template.nsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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" From 9a4911f6d5a4ae97c2110c97928705e9e678f6bb Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:13:36 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Installer=20:=20perU?= =?UTF-8?q?ser=20->=20currentUser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index c14a2d19..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": "perUser", + "installMode": "currentUser", "displayLanguageSelector": true } } From 02e262484284999fe6f9d2dc434c18772c565508 Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:18:33 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Installer=20:=20?= =?UTF-8?q?=E3=82=A2=E3=83=B3=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E6=99=82=E3=81=AB=5Finternal=E3=83=95=E3=82=A9?= =?UTF-8?q?=E3=83=AB=E3=83=80=E3=82=92=E5=89=8A=E9=99=A4=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/nsis/template.nsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src-tauri/nsis/template.nsi b/src-tauri/nsis/template.nsi index 88fb5452..e4578d0c 100644 --- a/src-tauri/nsis/template.nsi +++ b/src-tauri/nsis/template.nsi @@ -870,10 +870,13 @@ Section Uninstall ; Delete update.exe Delete "$INSTDIR\update.exe" - ; Delete log files + ; Delete _internal folder + RmDir /r "$INSTDIR\_internal" + + ; Delete log folder RmDir /r "$INSTDIR\logs" - ; Delete weights files + ; Delete weights folder RmDir /r "$INSTDIR\weights" ; Delete uninstaller