mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
Add user-configurable ShowPicker
This commit is contained in:
@@ -50,6 +50,7 @@ class Constants:
|
||||
self.wifi_build = False
|
||||
self.gui_mode = False
|
||||
self.serial_settings = "Minimal"
|
||||
self.showpicker = True
|
||||
|
||||
# Payload Location
|
||||
# OpenCore
|
||||
|
||||
@@ -220,6 +220,13 @@ class BuildOpenCore:
|
||||
if self.constants.opencore_debug == True:
|
||||
print("- Enabling DEBUG OpenCore")
|
||||
self.config["Misc"]["Debug"]["Target"] = 67
|
||||
if self.constants.showpicker == True:
|
||||
print("- Enabling ShowPicker")
|
||||
self.config["Misc"]["Boot"]["ShowPicker"] = True
|
||||
else:
|
||||
print("- Hiding picker and enabling PollAppleHotKeys")
|
||||
self.config["Misc"]["Boot"]["ShowPicker"] = False
|
||||
self.config["Misc"]["Boot"]["PollAppleHotKeys"] = True
|
||||
|
||||
def set_smbios(self):
|
||||
spoofed_model = self.model
|
||||
|
||||
Reference in New Issue
Block a user