Skip to content

Commit

Permalink
Update install_openclash_dev_opkg.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Aethersailor authored Jan 8, 2025
1 parent d69a19d commit 5b63c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/install_openclash_dev_opkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TEMP_FILE="openclash.ipk"
# 获取 JSON 数据并解析 .ipk 文件名
echo "正在获取文件信息..."
JSON_OUTPUT=$(curl -s $REPO_API_URL)
APK_FILE=$(echo "$JSON_OUTPUT" | awk -F'"' '/"name":/ && /.ipk"/ {print $4}' | head -n 1)
IPK_FILE=$(echo "$JSON_OUTPUT" | awk -F'"' '/"name":/ && /.ipk"/ {print $4}' | head -n 1)

# 打印调试信息
echo "API 输出内容:"
Expand Down

0 comments on commit 5b63c14

Please sign in to comment.