Package as .app

This commit is contained in:
Dhinak G
2021-03-02 00:01:06 -05:00
parent 7b0321be65
commit 8271db0d26
5 changed files with 29 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
from __future__ import print_function
import subprocess
import subprocess, sys, time
from Resources import build, ModelArray, Constants, utilities
@@ -88,7 +88,8 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
response = menu.start()
print("Bye")
if getattr(sys, "frozen", False):
subprocess.run("""osascript -e 'tell application "Terminal" to close first window' & exit""", shell=True)
OpenCoreLegacyPatcher().main_menu()