mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 14:29:16 +08:00
Update texts for mihomo
This commit is contained in:
parent
7c6a36cc56
commit
9b22442e77
4
.github/workflows/partial-update.yml
vendored
4
.github/workflows/partial-update.yml
vendored
@ -91,9 +91,9 @@ jobs:
|
||||
[ "$ARCH" = 'unknown' ] || {
|
||||
MIHOMO_VER=$(wget -q -O - 'https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/version.txt')
|
||||
# e.g. alpha-3e966e8
|
||||
URL='https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo-linux-'$ARCH'-'$MIHOMO_VER'.deb'
|
||||
MIHOMO_URL='https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo-linux-'$ARCH'-'$MIHOMO_VER'.deb'
|
||||
# e.g. https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo-linux-amd64-alpha-3e966e8.deb
|
||||
wget -q -O ./mihomo.deb "$URL"
|
||||
wget -q -O ./mihomo.deb "$MIHOMO_URL"
|
||||
sudo apt-get install ./mihomo.deb
|
||||
rm -f ./mihomo.deb
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user