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 os
|
||||||
|
import config
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
'Voice Assistant': 'voice_assistant',
|
'Voice Assistant': 'voice_assistant',
|
||||||
@@ -8,6 +9,6 @@ modules = {
|
|||||||
for name, module in modules.items():
|
for name, module in modules.items():
|
||||||
try:
|
try:
|
||||||
print(f'launching the {name}')
|
print(f'launching the {name}')
|
||||||
os.system(f'start python {module}.py')
|
os.system(f'nohup {config.path}/{module}.py &')
|
||||||
except:
|
except:
|
||||||
print(f'[error]\t{name} launch failed')
|
print(f'[error]\t{name} launch failed')
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/local/bin/python3.8
|
||||||
from Command import Command
|
from Command import Command
|
||||||
import SpeechRecognition
|
import SpeechRecognition
|
||||||
import Text2Speech
|
import Text2Speech
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/local/bin/python3.8
|
||||||
import SpeechRecognition
|
import SpeechRecognition
|
||||||
import Text2Speech
|
import Text2Speech
|
||||||
from Command import Command
|
from Command import Command
|
||||||
|
|||||||
Reference in New Issue
Block a user