mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-03-12 05:30:14 +00:00
+Домены и исправления установщика
This commit is contained in:
parent
54a4692cac
commit
ca1e5422a2
@ -1,5 +1,5 @@
|
|||||||
from re import compile, sub
|
from re import compile, sub
|
||||||
domains = ['jet', 'dyn']
|
domains = ['jet', 'mirror', 'me']
|
||||||
|
|
||||||
def domain_ok(domain):
|
def domain_ok(domain):
|
||||||
global domains
|
global domains
|
||||||
|
10
setup.py
10
setup.py
@ -15,8 +15,14 @@ conf = read()
|
|||||||
conf['os'] = os
|
conf['os'] = os
|
||||||
write(conf)
|
write(conf)
|
||||||
|
|
||||||
|
if os == 'Android':
|
||||||
print('''---
|
print('''---
|
||||||
[1/3] Устанавливаем зависимости python...
|
Устанавливаем зависимости rust...
|
||||||
|
---''')
|
||||||
|
system('pkg install rust')
|
||||||
|
|
||||||
|
print('''---
|
||||||
|
[1/3] Устанавливаем зависимости Python...
|
||||||
---''')
|
---''')
|
||||||
system('pip install -r requirements.txt')
|
system('pip install -r requirements.txt')
|
||||||
|
|
||||||
@ -33,7 +39,7 @@ elif os == 'Windows':
|
|||||||
unpack('bore.zip')
|
unpack('bore.zip')
|
||||||
system('del bore.zip')
|
system('del bore.zip')
|
||||||
elif os == 'Android':
|
elif os == 'Android':
|
||||||
system('pkg install bore-cli')
|
system('pkg install bore')
|
||||||
else:
|
else:
|
||||||
print('Увы, вероятно Ваша ОС не поддерживается.')
|
print('Увы, вероятно Ваша ОС не поддерживается.')
|
||||||
print('Завершение работы...')
|
print('Завершение работы...')
|
||||||
|
Loading…
Reference in New Issue
Block a user