This commit is contained in:
BarsTiger
2021-06-01 16:16:35 +03:00
parent abf95ef2fc
commit f604b72725

View File

@@ -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_())