This commit is contained in:
BarsTiger
2021-06-01 18:16:14 +03:00
parent eab6a715aa
commit 164e0607ed
2 changed files with 12 additions and 9 deletions

View File

@@ -2,12 +2,6 @@ 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/"

View File

@@ -1,9 +1,18 @@
hotkeyToBridge = "="
from pyautogui import *
import keyboard
import subprocess, sys
import time
danger = False
try:
import keyboard
except:
subprocess.check_call([sys.executable, "-m", "pip", "install", 'keyboard'])
import keyboard
try:
from pyautogui import *
except:
subprocess.check_call([sys.executable, "-m", "pip", "install", 'pyautogui'])
from pyautogui import *
print("AutoBridge started!")
print("To enter SafeMode press Ctrl + 1")