diff --git a/KOTIKOT_launcher.py b/KOTIKOT_launcher.py new file mode 100644 index 0000000..950bf1a --- /dev/null +++ b/KOTIKOT_launcher.py @@ -0,0 +1,7 @@ +import urllib.request, os + +launchfolder = os.getcwd() +offprojects = launchfolder + "\OfficialProjects" + +if not os.path.exists(offprojects): + os.mkdir(offprojects) \ No newline at end of file diff --git a/LauncherInstaller/Install KOTIKOT_launcher and Python 3.9.4.bat b/LauncherInstaller/Install KOTIKOT_launcher and Python 3.9.4.bat new file mode 100644 index 0000000..9f1933e --- /dev/null +++ b/LauncherInstaller/Install KOTIKOT_launcher and Python 3.9.4.bat @@ -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 \ No newline at end of file diff --git a/LauncherInstaller/Install-KOTIKOT_launcher.py b/LauncherInstaller/Install-KOTIKOT_launcher.py new file mode 100644 index 0000000..a8e120c --- /dev/null +++ b/LauncherInstaller/Install-KOTIKOT_launcher.py @@ -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")