mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
feat: warn if background downloads are disabled
This commit is contained in:
1 parent
ec8f6a3d36
commit
d6bf63886e
3 files changed
+24
-4
No files matched your search
@@ -305,8 +305,6 @@ def _get_running_app() -> int | None:
|
||||
return None
|
||||
|
||||
|
||||
# TODO: write tests
|
||||
# TODO: consider moving to proc module
|
||||
def get_running_app() -> int | None:
|
||||
PROC_NAME = "steam"
|
||||
SUBPROC_NAME = "reaper"
|
||||
@@ -329,7 +327,6 @@ def get_running_app() -> int | None:
|
||||
return None
|
||||
|
||||
|
||||
# TODO: write tests
|
||||
def get_app_allows_downloads(path: Path, appid: int) -> bool:
|
||||
root_path = get_app_path(path, appid)
|
||||
acf = root_path.joinpath(f"steamapps/appmanifest_{appid}.acf")
|
||||
|
||||
Reference in new issue
Block a user