Files
KOTIKOTappsLegacy/LauncherInstaller/Install-KOTIKOT_launcher.py
2024-05-03 17:45:36 +03:00

15 lines
455 B
Python

import urllib.request, os, subprocess, sys
launchfolder = os.getcwd()
kkapps = launchfolder + "/KOTIKOTapps"
if not os.path.exists(kkapps):
os.mkdir(kkapps)
launcherurl = 'https://raw.githubusercontent.com/kotikotprojects/KOTIKOTappsLegacy/master/KOTIKOT_launcher.py'
urllib.request.urlretrieve(launcherurl, kkapps + "/KOTIKOT_launcher.py")
try:
import PyQt5
except:
subprocess.check_call([sys.executable, "-m", "pip", "install", 'PyQt5'])