From 716eaa187caac3163e14c6753baa6b931e24a7e7 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 14 Jan 2026 13:16:04 +0900 Subject: [PATCH 1/2] fix: convert exception to str --- dzgui/init/dayz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui/init/dayz.py b/dzgui/init/dayz.py index 1552ecb..1816693 100644 --- a/dzgui/init/dayz.py +++ b/dzgui/init/dayz.py @@ -18,5 +18,5 @@ def is_dayz_installed(config: Path) -> None: PeFile.get_app_path(Path(path) / LIBRARYFOLDERS_PATH, APPID_DAYZ) except Exception as e: logger.critical(e) - EarlyAlertDialog(e) + EarlyAlertDialog(str(e)) sys.exit(1) From 9a96711dac205c89f450c862d2d7899ffe13f556 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 14 Jan 2026 13:31:52 +0900 Subject: [PATCH 2/2] fix: test github endpoitn first --- dzgui/init/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui/init/update.py b/dzgui/init/update.py index f8c6c34..889b557 100644 --- a/dzgui/init/update.py +++ b/dzgui/init/update.py @@ -15,7 +15,7 @@ logger = logging.getLogger(__name__) def get_latest_release() -> str | None: tag = None # TODO: check order; github often has gateway errors - for url in [CODEBERG_RELEASES, GITHUB_RELEASES]: + for url in [GITHUB_RELEASES, CODEBERG_RELEASES]: try: res = requests.get(url, timeout=REQUEST_TIMEOUT) if res.status_code == 200: