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