Files
KOTIKOTappsLegacy/KOTIKOT_launcher.py
BarsTiger b658944aba 1
2021-04-23 15:26:13 +03:00

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