12 lines
440 B
Shell
Executable file
12 lines
440 B
Shell
Executable file
#!/bin/bash
|
|
# 双击我就行。—— 铸渊 ICE-P-ZY001
|
|
cd "$(dirname "$0")" 2>/dev/null
|
|
S="/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-push-install.sh"
|
|
if [ ! -f "$S" ]; then
|
|
echo "找不到安装脚本:$S"
|
|
echo "确认 JZAO 移动硬盘插着,再双击一次。"
|
|
read -n1 -r -p "按任意键关闭…"
|
|
exit 1
|
|
fi
|
|
chmod +x "$S" "/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-push.sh" 2>/dev/null
|
|
exec /bin/bash "$S"
|