mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 06:32:53 +01:00
chore: simplify process checking logic
This commit is contained in:
1 parent
7c62aed6b0
commit
77c641327f
2 files changed
+41
-24
No files matched your search
+2
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user