mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-20 10:44:32 +10:00
gui.py: Resolve admin relaunch with space in path
This commit is contained in:
@@ -87,7 +87,7 @@ class wx_python_gui:
|
|||||||
args = [
|
args = [
|
||||||
"osascript",
|
"osascript",
|
||||||
"-e",
|
"-e",
|
||||||
f'''do shell script "{args_string}"'''
|
f'''do shell script "'{args_string}'"'''
|
||||||
' with prompt "OpenCore Legacy Patcher needs administrator privileges to mount your EFI."'
|
' with prompt "OpenCore Legacy Patcher needs administrator privileges to mount your EFI."'
|
||||||
" with administrator privileges"
|
" with administrator privileges"
|
||||||
" without altering line endings",
|
" without altering line endings",
|
||||||
@@ -2240,7 +2240,7 @@ class wx_python_gui:
|
|||||||
# in the OSes you wish to run OpenCore Legacy Patcher on.
|
# in the OSes you wish to run OpenCore Legacy Patcher on.
|
||||||
warning_string = """
|
warning_string = """
|
||||||
OpenCore Legacy Patcher by default knows the most ideal
|
OpenCore Legacy Patcher by default knows the most ideal
|
||||||
SIP value for your system. Override this value only if you
|
SIP value for your system. Override this value only if you
|
||||||
understand the consequences. Reckless usage of this
|
understand the consequences. Reckless usage of this
|
||||||
menu can break your installation.
|
menu can break your installation.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user