From 015b6b880eb2597a11a33cb646568f9c06d20073 Mon Sep 17 00:00:00 2001 From: ThiaudioTT Date: Sun, 21 Apr 2024 13:50:07 -0300 Subject: [PATCH 1/3] fix(setup/uninstall): adds encoding as ut-f8 --- src/setup.py | 4 ++-- src/uninstall.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/setup.py b/src/setup.py index 6ba88de..df7d415 100644 --- a/src/setup.py +++ b/src/setup.py @@ -191,10 +191,10 @@ def customInput() -> str | None: # 4 try: print("Changing launcher-settings.json...") - with open(gameFolder + "\\launcher-settings.json", "r") as f: + with open(gameFolder + "\\launcher-settings.json", "r", encoding="utf-8") as f: launcher = json.load(f) launcher["exePath"] = "runRPC.bat" - with open(gameFolder + "\\launcher-settings.json", "w") as f: + with open(gameFolder + "\\launcher-settings.json", "w", encoding="utf-8") as f: json.dump(launcher, f, indent=4) except Exception as e: print(e) diff --git a/src/uninstall.py b/src/uninstall.py index 3013fc5..7bb91da 100644 --- a/src/uninstall.py +++ b/src/uninstall.py @@ -54,10 +54,10 @@ # Revert launcher-settings.json try: print("Changing launcher-settings.json...") - with open(gameFolder + "\\launcher-settings.json", "r") as f: + with open(gameFolder + "\\launcher-settings.json", "r", encoding="utf-8") as f: launcher = json.load(f) launcher["exePath"] = "hoi4.exe" - with open(gameFolder + "\\launcher-settings.json", "w") as f: + with open(gameFolder + "\\launcher-settings.json", "w", encoding="utf-8") as f: json.dump(launcher, f, indent=4) except Exception as e: print(e) From 3171e9b8379450ca616ab29b1193df03dff2cceb Mon Sep 17 00:00:00 2001 From: ThiaudioTT Date: Sun, 21 Apr 2024 14:01:14 -0300 Subject: [PATCH 2/3] bump: bump version --- version.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.json b/version.json index 4c6b966..70c28d4 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "1.2.0", + "version": "1.2.1", "auto-update": true, - "date": "19-august-2023" + "date": "21-april-2024" } \ No newline at end of file From 9492289425bc3384ec821c3c7b5c544631bef692 Mon Sep 17 00:00:00 2001 From: ThiaudioTT Date: Sun, 21 Apr 2024 14:01:25 -0300 Subject: [PATCH 3/3] feat(readme): update docs --- readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 402201e..f3bc4e4 100644 --- a/readme.md +++ b/readme.md @@ -31,9 +31,13 @@ This is a presence for discord that shows what you are doing in Hearts of Iron 4 Struggling in installing? See the [Wiki](https://github.com/ThiaudioTT/hoi4-presence/wiki/Downloading,-Installing-and-Uninstalling). +## Known issues + +HOI4 is frequently updating, see known issues in [Issues](https://github.com/ThiaudioTT/hoi4-presence/labels/bug). + ## Submiting an issue -Found a bug? Submit it in [Issues](https://github.com/ThiaudioTT/hoi4-presence/issues). +Found a bug? [Submit it](https://github.com/ThiaudioTT/hoi4-presence/issues/new/choose). ## Contributing