From 91482760b6d7c5638a9540a08eb8a8941567e66f Mon Sep 17 00:00:00 2001 From: KeksNino Date: Mon, 20 Oct 2025 18:14:09 +0200 Subject: [PATCH] fix updater filename --- core/interface/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/interface/gui.py b/core/interface/gui.py index 65c7a73..e8a6311 100644 --- a/core/interface/gui.py +++ b/core/interface/gui.py @@ -41,8 +41,8 @@ from core.network.aria2_integration import dlprogress print(os.path.abspath(__file__)) def download_update(latest_version): - old_filename = f"SoftwareManager-dev-{state.version}-windows.exe" - new_filename = f"SoftwareManager-dev-{latest_version}-windows.exe" + old_filename = f"SoftwareManager-dev-{latest_version.replace('-dev', '')}-windows.exe" + new_filename = f"SoftwareManager-dev-{latest_version.replace('-dev', '')}-windows.exe" url = f"https://github.com/KeksPirates/SoftwareManager/releases/latest/download/SoftwareManager-dev-{latest_version}-windows.exe" print("Downloading update...")