Update gui.py

This commit is contained in:
shayaa
2026-03-10 00:23:08 +01:00
committed by GitHub
parent 11b8f3f265
commit 2e2e526d3a
+6 -1
View File
@@ -140,7 +140,12 @@ def _download_update(assets):
if "-windows-setup.exe" in asset["name"]: if "-windows-setup.exe" in asset["name"]:
filename = asset["name"] filename = asset["name"]
setup_hash = asset["hash"] 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) installer_path = os.path.join(tempfile.gettempdir(), filename)