mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
Update gui.py
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user