This commit is contained in:
蒋小陌 2024-10-13 16:35:22 +08:00
parent 6f9cd2d21a
commit 361de1ac55

View File

@ -39,7 +39,7 @@ echo "正在下载 index.js..."
curl -o $FILE https://x-mo.cn:9009/XiaoMo/alist-proxy/raw/branch/master/index.js curl -o $FILE https://x-mo.cn:9009/XiaoMo/alist-proxy/raw/branch/master/index.js
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "下载完成,正在执行 $FILE..." echo "下载完成,正在执行 node $FILE --port=$PORT ..."
node $FILE --port=$PORT # 使用 --port=6001 传递参数 node $FILE --port=$PORT # 使用 --port=6001 传递参数
else else
echo "下载失败" echo "下载失败"