From 76ed044eca835886c9c969ae161af3505b2561d8 Mon Sep 17 00:00:00 2001 From: Shinga13 <93780215+Shinga13@users.noreply.github.com> Date: Wed, 26 Mar 2025 14:58:13 +0100 Subject: [PATCH 1/2] fixed link issues in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2ab32c..974d840 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Builds can be exported to a PNG or JSON file that can be opened by another perso ## Installation ### Images library -All installation methods require an images library containing the game icons. The app will download these automatically, but as this takes a very long time, it is recommended to download the newest compressed image library from the [release](https://github.com/STOCD/releases) page. Once downloaded this has to be decompressed and placed in into the `.config/images` folder. +All installation methods require an images library containing the game icons. The app will download these automatically, but as this takes a very long time, it is recommended to download the newest compressed image library from the [release](https://github.com/STOCD/SETS/releases) page. Once downloaded this has to be decompressed and placed in into the `.config/images` folder. ``` SETS +- .config @@ -18,7 +18,7 @@ SETS ``` ### Executable for Windows -Download the zipped app from the [release](https://github.com/STOCD/releases) page. Unzip it into a folder where you want your app to live. To speed up the image downloading process, obtain the images library as detailed above. Double-clicking `SETS.exe` will start the app. +Download the zipped app from the [release](https://github.com/STOCD/SETS/releases) page. Unzip it into a folder where you want your app to live. To speed up the image downloading process, obtain the images library as detailed above. Double-clicking `SETS.exe` will start the app. You can create a desktop shortcut by rightclicking on `SETS.exe` and clicking on "Create shortcut" in the context menu. Then move the created shortcut to your desktop. To create a start menu entry, open the start menu folder by rightclicking on an arbitrary app in your start menu and clicking on "Open file location". Then move the created shortcut to the folder that opened. From 565a9a7f7bd586279d9b3e7537a01c8dd6545283 Mon Sep 17 00:00:00 2001 From: Raman Date: Sat, 28 Mar 2026 17:27:49 +0100 Subject: [PATCH 2/2] fix: normalise legacy items missing mark/modifiers fields on load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds saved before the mark/modifiers fields were introduced crash when loaded because slot_equipment_item (via add_equipment_tooltip_header) expects these keys to be present. Add setdefault guards in load_equipment_cat so old saves are silently upgraded on the first load — no data is lost, the fields are just initialised to their default empty values. Co-Authored-By: Claude Sonnet 4.6 --- src/buildupdater.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/buildupdater.py b/src/buildupdater.py index 13c692a..c294b1e 100644 --- a/src/buildupdater.py +++ b/src/buildupdater.py @@ -409,6 +409,9 @@ def load_equipment_cat(self, build_key: str, environment: str): """ for subkey, item in enumerate(self.build[environment][build_key]): if item is not None and item != '': + if isinstance(item, dict): + item.setdefault('mark', '') + item.setdefault('modifiers', [None, None, None, None]) slot_equipment_item(self, item, environment, build_key, subkey) else: self.widgets.build[environment][build_key][subkey].clear()