From eab6a715aa0727d4ca31efed15014acf141cb672 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Tue, 1 Jun 2021 18:12:06 +0300 Subject: [PATCH] 1 --- KOTIKOT_launcher.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/KOTIKOT_launcher.py b/KOTIKOT_launcher.py index 90d621b..7933d24 100644 --- a/KOTIKOT_launcher.py +++ b/KOTIKOT_launcher.py @@ -1,7 +1,13 @@ -import urllib.request, os, time, sys +import urllib.request, os, time, sys, subprocess from subprocess import * from PyQt5 import * +################### Checking modules ##################### +try: + import keyboard +except: + subprocess.check_call([sys.executable, "-m", "pip", "install", 'keyboard']) + launchfolder = os.getcwd() offprojects = launchfolder + "/OfficialProjects/" launcherfiles = offprojects + "/LAUNCHERFILES/"