You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-11-23 21:34:45 +02:00
prepare for startup
This commit is contained in:
3
main.py
3
main.py
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
import config
|
||||
|
||||
modules = {
|
||||
'Voice Assistant': 'voice_assistant',
|
||||
@@ -8,6 +9,6 @@ modules = {
|
||||
for name, module in modules.items():
|
||||
try:
|
||||
print(f'launching the {name}')
|
||||
os.system(f'start python {module}.py')
|
||||
os.system(f'nohup {config.path}/{module}.py &')
|
||||
except:
|
||||
print(f'[error]\t{name} launch failed')
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/local/bin/python3.8
|
||||
from Command import Command
|
||||
import SpeechRecognition
|
||||
import Text2Speech
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/local/bin/python3.8
|
||||
import SpeechRecognition
|
||||
import Text2Speech
|
||||
from Command import Command
|
||||
|
||||
Reference in New Issue
Block a user