mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
10 lines
249 B
Bash
Executable File
10 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
|
|
currentPath="$(pwd)"
|
|
for action in "daemon" "panel" "frontend"
|
|
do
|
|
terminalCmd="tell app \"Terminal\" to do script \"cd $currentPath && npm run $action\""
|
|
echo "Open New Terminal: $terminalCmd"
|
|
osascript -e "$terminalCmd"
|
|
done
|