111
This commit is contained in:
parent
6f9cd2d21a
commit
361de1ac55
2
index.sh
2
index.sh
@ -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 "下载失败"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user