From 2e2e526d3a738bf4c78a061e5cec3682cb7e970b Mon Sep 17 00:00:00 2001 From: shayaa <101264710+Vxrtrauter@users.noreply.github.com> Date: Tue, 10 Mar 2026 00:23:08 +0100 Subject: [PATCH] Update gui.py --- src/core/interface/gui.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/core/interface/gui.py b/src/core/interface/gui.py index c331166..1d0d421 100644 --- a/src/core/interface/gui.py +++ b/src/core/interface/gui.py @@ -140,7 +140,12 @@ def _download_update(assets): if "-windows-setup.exe" in asset["name"]: filename = asset["name"] setup_hash = asset["hash"] - url = asset ["url"] + url = asset["url"] + break + + if not filename: + consoleLog("Error: No Windows installer found in release assets") + return installer_path = os.path.join(tempfile.gettempdir(), filename)