From 3790555dec8f50f59ad68fb03ac704144da6c859 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sun, 3 Oct 2021 18:01:34 -0600 Subject: [PATCH] Fix init --- OpenCore-Patcher.command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index 275194964..1b45b61bd 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -67,11 +67,11 @@ class OpenCoreLegacyPatcher: menu = utilities.TUIMenu(title, "Please select an option: ", in_between=in_between, auto_number=True, top_level=True) options = ( - [["Build OpenCore", build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore()]] + [["Build OpenCore", build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore]] if ((self.constants.custom_model or self.computer.real_model) in model_array.SupportedSMBIOS) or self.constants.allow_oc_everywhere is True else [] ) + [ - ["Install OpenCore to USB/internal drive", build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).copy_efi()], + ["Install OpenCore to USB/internal drive", build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).copy_efi], ["Post-Install Volume Patch", cli_menu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).PatchVolume], ["Change Model", cli_menu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).change_model], ["Patcher Settings", cli_menu.MenuOptions(self.constants.custom_model or self.computer.real_model, self.constants).patcher_settings],