更新 proxy-openresty.sh

This commit is contained in:
lishichen committed 2025-12-31 12:19:18 +08:00
1 parent d287cc7d06
commit c6bbd29a66
1 file changed
+8 -3
+8 -3
View File
@@ -237,7 +237,12 @@ chmod +x /usr/local/bin/proxy-update || true
/usr/local/bin/proxy-update || true
crontab -l 2>/dev/null; echo "*/15 * * * * /usr/local/bin/proxy-update" | crontab -
echo "安装warp"
curl -fL --retry 5 -o /usr/bin/warp "https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh"
chmod +x /usr/bin/warp
if [ ! -f /usr/bin/warp ]; then
echo "安装 warp"
curl -fL --retry 5 -o /usr/bin/warp "https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh"
chmod +x /usr/bin/warp
else
echo "warp 已存在,跳过安装"
fi