mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
commit
76ad6bcdfa
|
@ -13,6 +13,7 @@ from Defs.Languages import *
|
|||
|
||||
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
|
||||
|
||||
installGetText()
|
||||
languageSelector()
|
||||
ifSettingsNotExists()
|
||||
config = readConfig()
|
||||
|
|
|
@ -6,11 +6,12 @@ from subprocess import check_output
|
|||
from platform import system as systemos, architecture
|
||||
from wget import download
|
||||
from Defs.Languages import *
|
||||
|
||||
RED, GREEN, DEFAULT = '\033[91m', '\033[1;32m', '\033[0m'
|
||||
|
||||
installGetText()
|
||||
languageSelector()
|
||||
|
||||
|
||||
def checkConnection(host='http://duckduckgo.com'): #Connection check
|
||||
try:
|
||||
urlopen(host)
|
||||
|
|
|
@ -4,6 +4,9 @@ import sys
|
|||
import gettext
|
||||
from Defs.Configurations import readConfig
|
||||
|
||||
def installGetText():
|
||||
gettext.install('hiddeneye', './locale')
|
||||
|
||||
def langRussian():
|
||||
ru = gettext.translation('hiddeneye',localedir='./locale', languages=['ru'])
|
||||
ru.install()
|
||||
|
|
|
@ -12,7 +12,7 @@ from Defs.Languages import *
|
|||
|
||||
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
|
||||
|
||||
|
||||
installGetText()
|
||||
languageSelector()
|
||||
checkConnection()
|
||||
checkNgrok()
|
||||
|
|
Loading…
Reference in New Issue
Block a user