Skip to content

Commit

Permalink
去除ipk文件名里的特殊符号~
Browse files Browse the repository at this point in the history
  • Loading branch information
wukongdaily authored Jan 24, 2025
1 parent 9522fcc commit 346e809
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/adguardhome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
run: |
TARGET_URL="https://dl.openwrt.ai/$PACKAGE_VERSION/x86_64/kiddin9/"
FILE_PREFIX="luci-app-adguardhome"
curl -s "$TARGET_URL" | grep -oP "$FILE_PREFIX.*?\.ipk" | while read -r file; do
curl -o "AdGuardHome_aarch32/$file" "$TARGET_URL$file"
curl -o "AdGuardHome_aarch64/$file" "$TARGET_URL$file"
curl -o "AdGuardHome_x86_64/$file" "$TARGET_URL$file"
new_file_name=$(echo "$file" | sed 's/~/_/g')
curl -o "AdGuardHome_aarch32/$new_file_name" "$TARGET_URL$file"
curl -o "AdGuardHome_aarch64/$new_file_name" "$TARGET_URL$file"
curl -o "AdGuardHome_x86_64/$new_file_name" "$TARGET_URL$file"
ls AdGuardHome_aarch32/$new_file_name
done
- name: Create install.sh scripts
run: |
cat <<EOF > AdGuardHome_x86_64/install.sh
Expand Down

0 comments on commit 346e809

Please sign in to comment.