Added a prompt ... for ngrok not found text

This commit is contained in:
AnonUD4Y 2019-03-07 08:13:26 +05:30 committed by GitHub
parent 7b0ef39a60
commit 9771e3be1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,9 +32,10 @@ if checkConnection() == False:
{0}[{1}!{0}]{1} Network error. Verify your connection.\n
''').format(RED, DEFAULT))
exit(0)
def checkNgrok(): #Ngrok check
if path.isfile('Server/ngrok') == False: #Is Ngrok downloaded?
print(_('[*] Ngrok Not Found !!'))
print(_('[*] Downloading Ngrok...'))
if 'Android' in str(check_output(('uname', '-a'))):
filename = 'ngrok-stable-linux-arm.zip'