Updated launcher's backend
This commit is contained in:
1 parent
04cc67625f
commit
9e1a07b465
1 file changed
+12
@@ -212,6 +212,18 @@ def launchKOTO_LAN_Control():
|
||||
|
||||
os.system("python " + KOTO_LAN_Control)
|
||||
|
||||
def launchKotoPythonCompiler():
|
||||
KotoPythonCompilerDir = offprojects + "/KotoPythonCompiler/"
|
||||
KotoPythonCompilerUrl = "https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/OfficialProjects/KotoPythonCompiler/KotoPythonCompiler.py"
|
||||
|
||||
if not os.path.exists(KotoPythonCompilerDir):
|
||||
os.mkdir(KotoPythonCompilerDir)
|
||||
|
||||
KotoPythonCompiler = KotoPythonCompilerDir + "KotoPythonCompiler.py"
|
||||
urllib.request.urlretrieve(KotoPythonCompilerUrl, KotoPythonCompiler)
|
||||
|
||||
os.system("python " + KotoPythonCompiler)
|
||||
|
||||
################### Checking buttons #####################
|
||||
ui.pushButton_1.clicked.connect(launchAutoShipper)
|
||||
ui.pushButton_2.clicked.connect(launchAutoBridger)
|
||||
|
||||
Reference in new issue
Block a user