Files
KOTIKOTappsLegacy/KOTIKOT_launcher.py
BarsTiger ec063b6b40 1
2021-06-01 14:35:35 +03:00

17 lines
594 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")