mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-21 03:04:31 +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",
|
||||||
|
|||||||
Reference in New Issue
Block a user