chore: simplify process checking logic

This commit is contained in:
aclist committed 2026-05-09 19:59:40 +09:00
1 parent 7c62aed6b0
commit 77c641327f
2 files changed
+41 -24

No files matched your search

+2 -4
View File
@@ -122,6 +122,8 @@ def main() -> None:
if allow is True:
check_updates(version)
# TODO: config wizard: check has_steam_client() prior to VDF exploration
if _is_steam_deck is False:
# TODO: sudo escalation dialog
count = get_map_count()
@@ -129,10 +131,6 @@ def main() -> None:
if has_steam_client() is False:
EarlyAlertDialog(init.requires_steam)
is_dayz_installed(XDG.config)
is_dayz_running(dialog=True)
is_steam_running(dialog=True)
# NOTE: clear versions file of unlinked mods
rebuild_symlinks(XDG.config)
remove_stale_signatures(XDG.config, XDG.version)