mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-22 19:10:15 +10:00
global_settings: Add extra error handling for defaults removal
This commit is contained in:
@@ -56,4 +56,7 @@ class global_settings:
|
|||||||
return
|
return
|
||||||
|
|
||||||
# delete defaults plist
|
# delete defaults plist
|
||||||
Path(defaults_path).unlink()
|
try:
|
||||||
|
Path(defaults_path).unlink()
|
||||||
|
except PermissionError:
|
||||||
|
print("- Permission error: Unable to delete defaults plist")
|
||||||
Reference in New Issue
Block a user