mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
22 lines
598 B
Python
22 lines
598 B
Python
#!/usr/local/bin/python3.8
|
|
import os
|
|
import config
|
|
|
|
os.system('git pull')
|
|
|
|
modules = {
|
|
'Voice Assistant': 'voice_assistant',
|
|
'Telegram bot': 'telegram_bot',
|
|
}
|
|
|
|
for name, module in modules.items():
|
|
try:
|
|
print(f'launching the {name}')
|
|
os.system(f'lxterminal --command="python3.8 {config.path}/{module}.py & read"')
|
|
except:
|
|
print(f'[error]\t{name} launch failed')
|
|
|
|
print('Running server...')
|
|
os.system(f'lxterminal --command="python3.8 {config.path}/Controls/Django/manage.py runserver 192.168.0.129:8000 & read"')
|
|
os.system(f'lxterminal --command="vlc"')
|