mirror of
https://github.com/ACL4SSR/ACL4SSR.git
synced 2026-11-22 13:40:06 +00:00
fix some bugs
This commit is contained in:
1 parent
d49854f267
commit
4444dbbffd
2 files changed
+3
-3
No files matched your search
@@ -31,7 +31,7 @@ jobs:
|
||||
echo "Attempt $i/$MAX_RETRIES to download mihomo..."
|
||||
if TAG=$(curl -s --fail https://api.github.com/repos/MetaCubeX/mihomo/releases/latest | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/'); then
|
||||
echo "Latest mihomo version: $TAG"
|
||||
if curl -L --fail -o mihomo.tar.gz "https://github.com/MetaCubeX/mihomo/releases/download/${TAG}/mihomo-linux-amd64-${TAG}.gz"; then
|
||||
if curl -L --fail -o mihomo.tar.gz "https://github.com/MetaCubeX/mihomo/releases/download/${TAG}/mihomo-linux-amd64-${TAG}.tar.gz"; then
|
||||
echo "Download succeeded"
|
||||
if tar -xzf mihomo.tar.gz; then
|
||||
chmod +x mihomo
|
||||
|
||||
Reference in new issue
Block a user