This commit is contained in:
Jazzzny
2023-07-28 21:14:25 -04:00
parent 8b0625eb41
commit 3ff6f68236

View File

@@ -1319,10 +1319,7 @@ Hardware Information:
else:
from resources.sys_patch.sys_patch import PatchSysVolume
#Don't need to pass model as we're bypassing all logic
if PatchSysVolume("",self.constants)._rebuild_kernel_collection() == True:
if PatchSysVolume("",self.constants)._create_new_apfs_snapshot() == True:
wx.MessageDialog(self.parent, "Root Volume saved, please reboot to apply changes", "Success", wx.OK | wx.ICON_INFORMATION).ShowModal()
else:
wx.MessageDialog(self.parent, "Root Volume Bless Failed, check terminal output", "Error", wx.OK | wx.ICON_ERROR).ShowModal()
if PatchSysVolume("",self.constants)._rebuild_root_volume() == True:
wx.MessageDialog(self.parent, "Root Volume saved, please reboot to apply changes", "Success", wx.OK | wx.ICON_INFORMATION).ShowModal()
else:
wx.MessageDialog(self.parent, "KC Update Failed, check terminal output", "Error", wx.OK | wx.ICON_ERROR).ShowModal()
wx.MessageDialog(self.parent, "Root Volume update Failed, check terminal output", "Error", wx.OK | wx.ICON_ERROR).ShowModal()