mirror of
https://github.com/aclist/dztui.git
synced 2026-08-30 03:37:00 +02:00
Compare commits
3 Commits
33c4f6e526
...
a1f851430d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1f851430d | ||
|
|
aa43b017d1 | ||
|
|
fc86b75ca1 |
@ -344,6 +344,7 @@ def get_app_allows_downloads(path: Path, appid: int) -> bool:
|
|||||||
# NOTE: never allow
|
# NOTE: never allow
|
||||||
case 2:
|
case 2:
|
||||||
return False
|
return False
|
||||||
|
# NOTE: no other known values at this time
|
||||||
case _:
|
case _:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,7 @@ class ModManager:
|
|||||||
|
|
||||||
@call_on_thread(dialogs.fetching_mods)
|
@call_on_thread(dialogs.fetching_mods)
|
||||||
def load_mods(self) -> None:
|
def load_mods(self) -> None:
|
||||||
mods = get_delimited_mods(self.path)
|
mods = get_delimited_mods(Path(self.path))
|
||||||
if len(mods) < 1:
|
if len(mods) < 1:
|
||||||
msg = self.format_mod_statusbar()
|
msg = self.format_mod_statusbar()
|
||||||
func = StoredFunc(lambda: self.emitter.emit("mods_updated", msg, 0))
|
func = StoredFunc(lambda: self.emitter.emit("mods_updated", msg, 0))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user