From dbf396a1873b022152df9c1b75610a93aa43975f Mon Sep 17 00:00:00 2001 From: KeksNino Date: Sat, 7 Mar 2026 23:28:00 +0100 Subject: [PATCH 1/5] fix: update updater to silently install new setup file --- src/core/interface/gui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/interface/gui.py b/src/core/interface/gui.py index 53bccaa..332f153 100644 --- a/src/core/interface/gui.py +++ b/src/core/interface/gui.py @@ -135,8 +135,8 @@ SVG_FOLDER = ' Date: Sat, 7 Mar 2026 23:33:05 +0100 Subject: [PATCH 2/5] feat: auto restart application after update has finished --- installer.iss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer.iss b/installer.iss index 8b112a6..bf95032 100644 --- a/installer.iss +++ b/installer.iss @@ -43,6 +43,8 @@ PrivilegesRequiredOverridesAllowed=dialog UninstallDisplayIcon={app}\{#MyAppExeName} ArchitecturesAllowed=x64compatible ArchitecturesInstallIn64BitMode=x64compatible +CloseApplications=yes +RestartApplications=yes [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" From 925579b9e03f083c001bcb811efb943788f886af Mon Sep 17 00:00:00 2001 From: KeksNino Date: Sat, 7 Mar 2026 23:57:23 +0100 Subject: [PATCH 3/5] fix: switch updater to silent instead of verysilent and open new exe after installation --- src/core/interface/gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/interface/gui.py b/src/core/interface/gui.py index 332f153..3eb224c 100644 --- a/src/core/interface/gui.py +++ b/src/core/interface/gui.py @@ -144,7 +144,8 @@ def download_update(latest_version): f.write(response.content) if not os.path.exists(new_filename): raise FileNotFoundError("Executable not found") - subprocess.run([new_filename, "/VERYSILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/SP-"]) + subprocess.run([new_filename, "/SILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/RESTARTAPPLICATIONS", "/SP-"]) + subprocess.Popen(["SoftwareManager.exe"]) time.sleep(0.5) msg = QMessageBox() From dbd5e7967855a868c10378af03489b1d571763d7 Mon Sep 17 00:00:00 2001 From: KeksNino Date: Sun, 8 Mar 2026 00:08:37 +0100 Subject: [PATCH 4/5] trigger github workflow to test updater From e47efab9011bbbd9894c12b0155125e6aeb0de3f Mon Sep 17 00:00:00 2001 From: KeksNino Date: Sun, 8 Mar 2026 00:25:32 +0100 Subject: [PATCH 5/5] fix: remove restartapplications flag in updater --- src/core/interface/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/interface/gui.py b/src/core/interface/gui.py index 3eb224c..3754ffc 100644 --- a/src/core/interface/gui.py +++ b/src/core/interface/gui.py @@ -144,7 +144,7 @@ def download_update(latest_version): f.write(response.content) if not os.path.exists(new_filename): raise FileNotFoundError("Executable not found") - subprocess.run([new_filename, "/SILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/RESTARTAPPLICATIONS", "/SP-"]) + subprocess.run([new_filename, "/SILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/SP-"]) subprocess.Popen(["SoftwareManager.exe"]) time.sleep(0.5)