mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 15:12:48 +01:00
Merge branch 'feat/server-threading' of github.com:aclist/dzgui-devel into feat/server-threading
This commit is contained in:
commit
2788abb755
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -18,5 +18,5 @@ def is_dayz_installed(config: Path) -> None:
|
|||||||
PeFile.get_app_path(Path(path) / LIBRARYFOLDERS_PATH, APPID_DAYZ)
|
PeFile.get_app_path(Path(path) / LIBRARYFOLDERS_PATH, APPID_DAYZ)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.critical(e)
|
logger.critical(e)
|
||||||
EarlyAlertDialog(e)
|
EarlyAlertDialog(str(e))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
@@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
|
|||||||
def get_latest_release() -> str | None:
|
def get_latest_release() -> str | None:
|
||||||
tag = None
|
tag = None
|
||||||
# TODO: check order; github often has gateway errors
|
# TODO: check order; github often has gateway errors
|
||||||
for url in [CODEBERG_RELEASES, GITHUB_RELEASES]:
|
for url in [GITHUB_RELEASES, CODEBERG_RELEASES]:
|
||||||
try:
|
try:
|
||||||
res = requests.get(url, timeout=REQUEST_TIMEOUT)
|
res = requests.get(url, timeout=REQUEST_TIMEOUT)
|
||||||
if res.status_code == 200:
|
if res.status_code == 200:
|
||||||
|
|||||||
Reference in new issue
Block a user