Files
juc500/dist-offline/juc500-offline-update-20260721-134751/scripts/stop_tauri_watchers.sh
T
2026-07-21 21:11:19 +09:00

20 lines
507 B
Bash
Executable File

#!/usr/bin/env bash
# Tauri 케이블 감시 앱 종료 (개발 중 ./start.sh 와 충돌 방지)
set -euo pipefail
stopped=0
for pattern in \
"juc500-app/src-tauri/target/release/juc500-app" \
"juc500-app/src-tauri/target/debug/juc500-app" \
"/Applications/JUC500.app/Contents/MacOS/juc500-app" \
"juc500-app.exe"; do
if pkill -f "$pattern" 2>/dev/null; then
echo "종료: $pattern"
stopped=1
fi
done
if [[ "$stopped" == "0" ]]; then
echo "실행 중인 Tauri juc500-app 없음"
fi