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

Function action_extras_menu

Scripts/Developer Base/Mobile Desktop.py:1927–1941  ·  view source on GitHub ↗
(cfg: Dict)

Source from the content-addressed store, hash-verified

1925
1926
1927def action_extras_menu(cfg: Dict) -> None:
1928 installed = get_installed_distros()
1929 print("\n" + tr(cfg, "installed"))
1930 if not installed:
1931 print(" " + tr(cfg, "none_installed"))
1932 pause(cfg)
1933 return
1934 distro = pick_from_list(tr(cfg, "pick_system"), installed)
1935 if not distro:
1936 print(tr(cfg, "invalid"))
1937 pause(cfg)
1938 return
1939 ensure_system_entry(cfg, distro)
1940 install_recommended_extras(cfg, distro)
1941 pause(cfg)
1942
1943def action_launcher(cfg: Dict) -> None:
1944 installed = get_installed_distros()

Callers 1

mainFunction · 0.70

Calls 7

printFunction · 0.85
get_installed_distrosFunction · 0.70
trFunction · 0.70
pauseFunction · 0.70
pick_from_listFunction · 0.70
ensure_system_entryFunction · 0.70

Tested by

no test coverage detected