Files
KOTIKOTappsLegacy/KOTIKOT_launcher.py
BarsTiger 9588eeefd9 1
2021-04-23 15:18:03 +03:00

18 lines
616 B
Python

import urllib.request, os
launchfolder = os.getcwd()
offprojects = launchfolder + "\OfficialProjects"
launcherfiles = offprojects + "\!LAUNCHERFILES"
launchergithuburl = "https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/KOTIKOT_launcher.py"
################### Checking folders #####################
if not os.path.exists(offprojects):
os.mkdir(offprojects)
if not os.path.exists(launcherfiles):
os.mkdir(launcherfiles)
################### Self-updataing launcher #####################
urllib.request.urlretrieve(launchergithuburl, "KOTIKOT_launcher.py")
#ooo povezlo povezlo