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)