24 lines
364 B
Bash
Executable File
24 lines
364 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
while true
|
|
do
|
|
git stash
|
|
git pull
|
|
|
|
qjackctl /start-server &
|
|
JACK_PID=$!
|
|
|
|
sleep 5
|
|
|
|
cargo run --release --bin audio_engine &
|
|
AUDIO_ENGINE_PID=$!
|
|
|
|
cargo run --release --bin gui -- -f &
|
|
GUI_PID=$!
|
|
|
|
wait -n $JACK_PID $AUDIO_ENGINE_PID $GUI_PID
|
|
|
|
killall qjackctl jackd audio_engine gui cargo
|
|
|
|
sleep 10
|
|
done |