mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-12-27 07:59:08 +08:00
10 lines
241 B
Bash
Executable File
10 lines
241 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 start-$action\""
|
|
echo "Run: $terminalCmd"
|
|
osascript -e "$terminalCmd"
|
|
done
|