Open source CapCut alternative.
TypeScript
Stop debug app with dev script
David Le6e24d356c06e
diff --git a/scripts/run-donkey-dev.sh b/scripts/run-donkey-dev.shindex 7dae0f9f..913ad0f6 100755--- a/scripts/run-donkey-dev.sh+++ b/scripts/run-donkey-dev.sh@@ -27,6 +27,9 @@ LOG_PID=""export DONKEY_WEB_BASE_URL="${DONKEY_WEB_BASE_URL:-http://localhost:3000}"cleanup() {+ if [ "$LAUNCH_APP" != "0" ] && [ "${DONKEY_KEEP_APP_ON_EXIT:-0}" != "1" ]; then+ killall Donkey >/dev/null 2>&1 || true+ fiif [ -n "$LOG_PID" ] && kill -0 "$LOG_PID" >/dev/null 2>&1; thenkill "$LOG_PID" >/dev/null 2>&1 || truewait "$LOG_PID" >/dev/null 2>&1 || true