Update Checks.py

This commit is contained in:
Usama Abdul Sattar 2019-05-03 06:05:12 +05:00 committed by GitHub
parent 88b89d1ea5
commit 4677aca17c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ 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'))):
if 'Android' in str(check_output(('uname', '-a'))) or 'arm' in str(check_output(('uname', '-a'))):
filename = 'ngrok-stable-linux-arm.zip'
else:
ostype = systemos().lower()