gui_main.py: Remove Sys Pref prompt for Ventura

This commit is contained in:
Mykola Grymalyuk
2022-09-20 17:01:24 -06:00
parent 3a641d451d
commit 0895fc8415
+3
View File
@@ -1248,6 +1248,9 @@ class wx_python_gui:
if self.constants.root_patcher_succeeded is True: if self.constants.root_patcher_succeeded is True:
print("- Root Patcher finished successfully") print("- Root Patcher finished successfully")
if self.constants.needs_to_open_preferences is True: if self.constants.needs_to_open_preferences is True:
if self.constants.detected_os >= os_data.os_data.ventura:
self.reboot_system(message="Root Patcher finished successfully!\nIf you were prompted to open System Preferences to authorize new kexts, this can be ignored. Your system is ready once restarted.\n\nWould you like to reboot now?")
else:
# Create dialog box to open System Preferences -> Security and Privacy # Create dialog box to open System Preferences -> Security and Privacy
self.popup = wx.MessageDialog( self.popup = wx.MessageDialog(
self.frame_modal, self.frame_modal,