This commit is contained in:
BarsTiger
2021-04-23 13:16:58 +03:00
parent f98a6be342
commit 1c88c39f88
3 changed files with 31 additions and 0 deletions

7
KOTIKOT_launcher.py Normal file
View File

@@ -0,0 +1,7 @@
import urllib.request, os
launchfolder = os.getcwd()
offprojects = launchfolder + "\OfficialProjects"
if not os.path.exists(offprojects):
os.mkdir(offprojects)

View File

@@ -0,0 +1,14 @@
@echo off
@echo ----- Downloadig Python from official site --------------------------------------------------
@echo ----- python.org/ftp/python/3.9.4/python-3.9.4-amd64.exe ------------------------------------
powershell -command iwr https://www.python.org/ftp/python/3.9.4/python-3.9.4-amd64.exe -OutFile python-3.9.4-amd64.exe
@echo ----- After installing python, run Install-KOTIKOT_launcher to install KOTIKOT_launcher -----
@echo off
ping -n 3 localhost > nul
ping -n 3 localhost > nul
ping -n 3 localhost > nul
ping -n 3 localhost > nul
ping -n 3 localhost > nul
@echo ----- Running installer and downloading Install-KOTIKOT_launcher.py ... ---------------------
@start python-3.9.4-amd64.exe
powershell -command iwr https://raw.githubusercontent.com/BarsTiger/KOTIKOT_launcher/master/LauncherInstaller/Install-KOTIKOT_launcher.py -OutFile Install-KOTIKOT_launcher.py

View File

@@ -0,0 +1,10 @@
import urllib.request, os
launchfolder = os.getcwd()
kkapps = launchfolder + "\KOTIKOT apps"
if not os.path.exists(kkapps):
os.mkdir(kkapps)
launcherurl = 'https://raw.githubusercontent.com/BarsTiger/KOTIKOT_launcher/master/KOTIKOT_launcher.py'
urllib.request.urlretrieve(launcherurl, kkapps + "\KOTIKOT_launcher.py")