#!/bin/zsh # 双击就能用(Finder 里双击本文件即可重启编辑器)。 # 想带参数(指定工程)就在终端里跑:./viewpanel/run.sh /路径/xxx.spine HERE="$(cd "$(dirname "$0")" && pwd)" "$HERE/run.sh" echo echo "== 完成。日志:tail -f /tmp/spineview.log" echo "== 关掉这个终端窗口不会关掉 Spine;要关 Spine 请用 Cmd+Q。"