mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
GUI: Strip sleep test
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
import wx
|
import wx
|
||||||
import os
|
import os
|
||||||
import time
|
|
||||||
import logging
|
import logging
|
||||||
import plistlib
|
import plistlib
|
||||||
import threading
|
import threading
|
||||||
@@ -88,7 +87,6 @@ class SysPatchDisplayFrame(wx.Frame):
|
|||||||
def _fetch_patches(self) -> None:
|
def _fetch_patches(self) -> None:
|
||||||
nonlocal patches
|
nonlocal patches
|
||||||
patches = sys_patch_detect.DetectRootPatch(self.constants.computer.real_model, self.constants).detect_patch_set()
|
patches = sys_patch_detect.DetectRootPatch(self.constants.computer.real_model, self.constants).detect_patch_set()
|
||||||
time.sleep(5)
|
|
||||||
|
|
||||||
thread = threading.Thread(target=_fetch_patches, args=(self,))
|
thread = threading.Thread(target=_fetch_patches, args=(self,))
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user