sys_patch: Sync dev tools

This commit is contained in:
Mykola Grymalyuk
2023-06-10 10:23:14 -06:00
parent c044e8acc9
commit a762d7efe8
4 changed files with 39 additions and 13 deletions

View File

@@ -865,7 +865,7 @@ class PatchSysVolume:
return False
logging.info("- Mounted Universal-Binaries.dmg")
if Path(self.constants.overlay_psp_path_dmg).exists() and Path("~/.dortania_developer").expanduser().exists():
if self.constants.cli_mode is False and Path(self.constants.overlay_psp_path_dmg).exists() and Path("~/.dortania_developer").expanduser().exists():
icon_path = str(self.constants.app_icon_path).replace("/", ":")[1:]
msg = "Welcome to the DortaniaInternal Program, please provided the decryption key to access internal resources. Press cancel to skip."
password = Path("~/.dortania_developer_key").expanduser().read_text().strip() if Path("~/.dortania_developer_key").expanduser().exists() else ""