mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-21 18:40:16 +10:00
GUI: Fix launch errors when run from update directory
This commit is contained in:
@@ -136,7 +136,7 @@ class UpdateFrame(wx.Frame):
|
||||
while thread.is_alive():
|
||||
wx.Yield()
|
||||
|
||||
timer = 5
|
||||
timer = 8
|
||||
while True:
|
||||
launch_label.SetLabel(f"Closing old process in {timer} seconds")
|
||||
launch_label.Center(wx.HORIZONTAL)
|
||||
@@ -237,4 +237,4 @@ EOF
|
||||
def _launch_update(self):
|
||||
# Launch update
|
||||
logging.info("Launching update: '/Library/Application Support/Dortania/OpenCore-Patcher.app'")
|
||||
subprocess.Popen(["open", "/Library/Application Support/Dortania/OpenCore-Patcher.app"])
|
||||
subprocess.Popen(["/Library/Application Support/Dortania/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher"])
|
||||
|
||||
Reference in New Issue
Block a user