GUI: Wait for payloads.dmg mount

This commit is contained in:
Mykola Grymalyuk
2023-05-07 12:23:57 -06:00
parent 1204daa330
commit 4068bc1661
4 changed files with 36 additions and 0 deletions

View File

@@ -336,6 +336,9 @@ class SysPatchMenu(wx.Frame):
def start_root_patching(self, patches: dict):
logging.info("Starting root patching")
while gui_support.PayloadMount(self.constants, self).is_unpack_finished() is False:
wx.Yield()
if patches["Settings: Kernel Debug Kit missing"] is True:
if self._kdk_download(self) is False:
self.on_return_to_main_menu()