mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Merge branch 'main' into ventura-alpha
This commit is contained in:
+7
-4
@@ -231,10 +231,13 @@ class wx_python_gui:
|
|||||||
extension = ""
|
extension = ""
|
||||||
if event:
|
if event:
|
||||||
if event.GetEventObject() != wx.Menu:
|
if event.GetEventObject() != wx.Menu:
|
||||||
if event.GetEventObject().GetLabel() == "Start Root Patching":
|
try:
|
||||||
extension = " --gui_patch"
|
if event.GetEventObject().GetLabel() == "Start Root Patching":
|
||||||
elif event.GetEventObject().GetLabel() == "Revert Root Patches":
|
extension = " --gui_patch"
|
||||||
extension = " --gui_unpatch"
|
elif event.GetEventObject().GetLabel() == "Revert Root Patches":
|
||||||
|
extension = " --gui_unpatch"
|
||||||
|
except TypeError:
|
||||||
|
pass
|
||||||
|
|
||||||
if self.constants.launcher_script is None:
|
if self.constants.launcher_script is None:
|
||||||
args_string = f"'{self.constants.launcher_binary}'{extension}"
|
args_string = f"'{self.constants.launcher_binary}'{extension}"
|
||||||
|
|||||||
Reference in New Issue
Block a user