From db708022e90374e0fc243dca62adf028e359fbae Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:20:45 -0600 Subject: [PATCH] Fix model issue --- OCLP-CLI.command | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OCLP-CLI.command b/OCLP-CLI.command index bfee6526a..b93e8a103 100755 --- a/OCLP-CLI.command +++ b/OCLP-CLI.command @@ -52,6 +52,7 @@ class OpenCoreLegacyPatcher: # Building args requiring value values parser.add_argument("--model", action="store", help="Set custom model", required=False) + parser.add_argument("--disk", action="store", help="Specifies disk to patch", required=False) parser.add_argument("--smbios_spoof", action="store", help="Set SMBIOS patching mode", required=False) # SysPatch args @@ -70,6 +71,8 @@ class OpenCoreLegacyPatcher: else: print("- Using default payloads location") + if args.disk: + print(f"Disk set: {args.disk}") if args.verbose: print("- Set verbose configuration") self.constants.verbose_debug = True @@ -104,8 +107,6 @@ class OpenCoreLegacyPatcher: if args.moderate_smbios: print("- Set Moderate SMBIOS Patching configuration") self.constants.serial_settings = "Moderate" - if args.model: - host_is_target if args.smbios_spoof: if args.smbios_spoof == "Minimal": self.constants.serial_settings = "Minimal"