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

Function list_installed_programs

Scripts/Developer Base/Mobile Desktop.py:1176–1178  ·  view source on GitHub ↗
(cfg: Dict, distro: str)

Source from the content-addressed store, hash-verified

1174 save_config(cfg)
1175
1176def list_installed_programs(cfg: Dict, distro: str) -> List[str]:
1177 ensure_system_entry(cfg, distro)
1178 return cfg["systems"][distro].get("installed_programs", []) or []
1179
1180def _validate_pkg_name(pkg: str) -> Optional[str]:
1181 pkg = (pkg or "").strip()

Callers 2

action_programs_installFunction · 0.70
action_programs_removeFunction · 0.70

Calls 1

ensure_system_entryFunction · 0.70

Tested by

no test coverage detected