Fixed autorun

This commit is contained in:
geens 2025-08-12 16:31:08 +02:00
parent 5aa2961604
commit 4eea572c35

7
autorun.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/bash
git stash git stash
git pull git pull
@ -10,4 +10,7 @@ cargo run --release --bin audio_engine &
AUDIO_ENGINE_PID=$! AUDIO_ENGINE_PID=$!
cargo run --release --bin gui -- -f& cargo run --release --bin gui -- -f&
GUI_PID=$! GUI_PID=$!
wait -n "$JACK_PID" "$AUDIO_ENGINE_PID" "$GUI_PID"
kill "$JACK_PID" "$AUDIO_ENGINE_PID" "$GUI_PID"