reroute_payloads.py: rework into object oriented

This commit is contained in:
Mykola Grymalyuk
2023-02-09 16:46:12 -07:00
parent d40d6607b3
commit 925003e3f1
2 changed files with 29 additions and 12 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class OpenCoreLegacyPatcher:
self.constants.launcher_script = launcher_script
# Initialize working directory
self.constants.unpack_thread = threading.Thread(target=reroute_payloads.reroute_payloads(self.constants).setup_tmp_disk_image)
self.constants.unpack_thread = threading.Thread(target=reroute_payloads.RoutePayloadDiskImage, args=(self.constants,))
self.constants.unpack_thread.start()
# Generate commit info