mirror of
https://github.com/aclist/dztui.git
synced 2026-11-12 04:50:37 +01:00
feat: FlatpakOverridePage WIP
This commit is contained in:
1 parent
e286f02342
commit
01b3babdf5
6 files changed
+108
-19
No files matched your search
@@ -1,5 +1,12 @@
|
||||
import shlex
|
||||
|
||||
from dzgui.const.constants import STEAM_CMD
|
||||
from dzgui.init.proc import is_sandboxed
|
||||
|
||||
|
||||
def concat_bash_args(command: str) -> list[str]:
|
||||
# NOTE: NSGs spawned from sandbox cannot access host application commands,
|
||||
# so fallback to Steam internal URIs
|
||||
if is_sandboxed():
|
||||
return [STEAM_CMD]
|
||||
return shlex.split(command)
|
||||
Reference in new issue
Block a user