mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-20 18:54:30 +10:00
global_settings: Add extra error handling for defaults removal
This commit is contained in:
@@ -56,4 +56,7 @@ class global_settings:
|
||||
return
|
||||
|
||||
# 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