MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / get_prefix

Function get_prefix

Scripts/Developer Base/Mobile Desktop.py:620–621  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

618 return "'" + s.replace("'", "'\"'\"'") + "'"
619
620def get_prefix() -> Optional[str]:
621 return os.environ.get("PREFIX")
622
623def proot_exists() -> bool:
624 return shutil.which("proot-distro") is not None

Callers 4

ensure_termux_depsFunction · 0.70
get_installed_distrosFunction · 0.70
create_launcherFunction · 0.70
list_launchersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected