Update get_artifacts.sh

This commit is contained in:
手瓜一十雪 2024-08-12 15:40:07 +08:00 committed by GitHub
parent 957d6d5982
commit 57ec5e71ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,13 +8,8 @@ output_dir="."
# 下载release
curl -s -X GET \
-H "Authorization: token $token" \
-L "https://github.com/NapNeko/NapCatQQ/releases/download/$version/NapCat.linux.x64.zip" \
-L "https://github.com/NapNeko/NapCatQQ/releases/download/$version/NapCat.Shell.zip" \
-o "$output_dir/NapCat.linux.x64.zip"
curl -s -X GET \
-H "Authorization: token $token" \
-L "https://github.com/NapNeko/NapCatQQ/releases/download/$version/NapCat.linux.arm64.zip" \
-o "$output_dir/NapCat.linux.arm64.zip"
echo "编译产物已保存到$output_dir"
ls -lh