sys_patch_dict.py: Omit NV Web Pref Pane

This commit is contained in:
Mykola Grymalyuk
2022-05-29 20:00:03 -06:00
parent 9be9c1313b
commit d289dbbffa
2 changed files with 14 additions and 12 deletions

View File

@@ -344,15 +344,18 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
"NVDANV50HalTeslaWeb.kext": "WebDriver-387.10.10.10.40.140",
"NVDAResmanTeslaWeb.kext": "WebDriver-387.10.10.10.40.140",
},
"/Library/PreferencePanes": {
"NVIDIA Driver Manager.prefPane": "WebDriver-387.10.10.10.40.140",
},
"/Library/LaunchAgents": {
"com.nvidia.nvagent.plist": "WebDriver-387.10.10.10.40.140",
},
"/Library/LaunchDaemons": {
"com.nvidia.nvroothelper.plist": "WebDriver-387.10.10.10.40.140",
},
# Disabled due to issues with Pref pane stripping 'nvda_drv' NVRAM
# variables
# "/Library/PreferencePanes": {
# "NVIDIA Driver Manager.prefPane": "WebDriver-387.10.10.10.40.140",
# },
# "/Library/LaunchAgents": {
# "com.nvidia.nvagent.plist": "WebDriver-387.10.10.10.40.140",
# },
# "/Library/LaunchDaemons": {
# "com.nvidia.nvroothelper.plist": "WebDriver-387.10.10.10.40.140",
# },
},
"Remove": {
"/System/Library/Extensions": [

View File

@@ -1193,9 +1193,8 @@ class wx_python_gui:
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)
if output.returncode == 0:
time.sleep(5)
self.OnCloseFrame(None)
time.sleep(5)
self.OnCloseFrame(None)
else:
self.reboot_system(message="Root Patcher finished successfully\nWould you like to reboot now?")
self.return_to_main_menu.Enable()