20 lines
507 B
Bash
Executable File
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
|