更新 .gitea/workflows/app_update.yml

This commit is contained in:
2025-11-04 18:20:43 +00:00
parent c74d584818
commit 90d5fe1689

View File

@@ -60,6 +60,14 @@ jobs:
mv tmp/x86_64/ssserver app/
mv tmp/x86_64/sslocal app/
- name: 下载并解压ImageGlass
run: |
IG_VERSION=$(curl -s "https://api.github.com/repos/d2phap/ImageGlass/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
IG_URL="https://github.com/d2phap/ImageGlass/releases/latest/download/ImageGlass_${IG_VERSION}_x64.msi"
echo "下载版本: ${IG_VERSION}"
curl -L "${IG_URL}" -o "app/ImageGlass_x64.msi" --fail --silent --show-error
- name: 下载并解压Frp
run: |
FRP_VERSION=$(curl -s "https://api.github.com/repos/fatedier/frp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')