1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import urllib.request, os, time
|
||||
from subprocess import *
|
||||
from PyQt5 import *
|
||||
from OfficialProjects.LAUNCHERFILES.KOTIKOTlauncherMain import *
|
||||
|
||||
launchfolder = os.getcwd()
|
||||
offprojects = launchfolder + "/OfficialProjects/"
|
||||
@@ -20,4 +21,15 @@ urllib.request.urlretrieve(launchergithuburl, "KOTIKOT_launcher.py")
|
||||
urllib.request.urlretrieve(launcherguigithuburl, launcherfiles + "KOTIKOTlauncherMain.py")
|
||||
|
||||
################### Launching GUI #####################
|
||||
Popen('python ' + launcherfiles + "KOTIKOTlauncherMain.py", shell=True)
|
||||
|
||||
# Popen('python ' + launcherfiles + "KOTIKOTlauncherMain.py", shell=True)
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
KOTIKOTlauncher = QtWidgets.QMainWindow()
|
||||
ui = Ui_KOTIKOTlauncher()
|
||||
ui.setupUi(KOTIKOTlauncher)
|
||||
KOTIKOTlauncher.show()
|
||||
sys.exit(app.exec_())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user