diff --git a/boiiiwd_package/src/imports.py b/boiiiwd_package/src/imports.py index 1a892a8..80ab733 100644 --- a/boiiiwd_package/src/imports.py +++ b/boiiiwd_package/src/imports.py @@ -47,4 +47,4 @@ RESOURCES_DIR = os.path.join(os.path.dirname(__file__), '..', 'resources') UPDATER_FOLDER = "update" REGISTRY_KEY_PATH = r"Software\BOIIIWD" -VERSION = "v0.3.6.1" \ No newline at end of file +VERSION = "v0.3.6.2" \ No newline at end of file diff --git a/boiiiwd_package/src/main.py b/boiiiwd_package/src/main.py index 5bbbe53..c074280 100644 --- a/boiiiwd_package/src/main.py +++ b/boiiiwd_package/src/main.py @@ -539,7 +539,7 @@ def download_steamcmd(self): response = requests.get(steamcmd_url) response.raise_for_status() - with open(steamcmd_zip_path, "wb", errors="ignore") as zip_file: + with open(steamcmd_zip_path, "wb") as zip_file: zip_file.write(response.content) with zipfile.ZipFile(steamcmd_zip_path, "r") as zip_ref: diff --git a/boiiiwd_package/src/update_window.py b/boiiiwd_package/src/update_window.py index b8b65a8..482214a 100644 --- a/boiiiwd_package/src/update_window.py +++ b/boiiiwd_package/src/update_window.py @@ -47,10 +47,8 @@ def __init__(self, master, update_url): super().__init__(master) self.title("BOIIIWD Self-Updater") _, _, x, y = get_window_size_from_registry() - try: - self.geometry(f"400x150+{x}+{y}") - except: - self.geometry("400x150") + try: self.geometry(f"400x150+{x}+{y}") + except: self.geometry("400x150") if os.path.exists(os.path.join(RESOURCES_DIR, "ryuk.ico")): self.after(250, lambda: self.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico"))) self.protocol("WM_DELETE_WINDOW", self.cancel_update)