mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
gui_main: Fix reboot prompt logic
This commit is contained in:
@@ -233,7 +233,7 @@ class wx_python_gui:
|
||||
if event:
|
||||
if event.GetEventObject() != wx.Menu:
|
||||
try:
|
||||
if event.GetEventObject().GetLabel() == "Start Root Patching":
|
||||
if event.GetEventObject().GetLabel() in ["Start Root Patching", "Reinstall Root Patches"]:
|
||||
extension = " --gui_patch"
|
||||
elif event.GetEventObject().GetLabel() == "Revert Root Patches":
|
||||
extension = " --gui_unpatch"
|
||||
|
||||
Reference in New Issue
Block a user