defaults.py: Refactor Probe Logic

This commit is contained in:
Mykola Grymalyuk
2022-09-28 12:21:24 -06:00
parent 910ab09dbd
commit 251bd48920
7 changed files with 219 additions and 189 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class OpenCoreLegacyPatcher:
branch = branch.replace("refs/heads/", "")
self.constants.installer_pkg_url_nightly = self.constants.installer_pkg_url_nightly.replace("main", branch)
defaults.generate_defaults.probe(self.computer.real_model, True, self.constants)
defaults.generate_defaults(self.computer.real_model, True, self.constants)
if utilities.check_cli_args() is not None:
print("- Detected arguments, switching to CLI mode")