Files
KOTIKOTappsLegacy/LauncherInstaller/Install-KOTIKOT_launcher.py
BarsTiger 725c95aaa4 1
2021-06-01 15:43:55 +03:00

15 lines
457 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/BarsTiger/KOTIKOTapps_download_repo/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'])