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

@@ -79,6 +79,9 @@ class BuildFrame(wx.Frame):
def _invoke_build(self):
while gui_support.PayloadMount(self.constants, self).is_unpack_finished() is False:
wx.Yield()
thread = threading.Thread(target=self._build)
thread.start()