mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 14:29:16 +08:00
Small improve
This commit is contained in:
parent
3a3b3e64a2
commit
f6610c5999
4
.github/workflows/sync-to-dist.yml
vendored
4
.github/workflows/sync-to-dist.yml
vendored
@ -48,14 +48,16 @@ jobs:
|
||||
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"
|
||||
sudo apt install ./mihomo.deb
|
||||
sudo apt-get install ./mihomo.deb
|
||||
rm -f ./mihomo.deb
|
||||
}
|
||||
|
||||
- name: Compile binaries for sing-box/mihomo
|
||||
run: |
|
||||
echo 'Compiling sing-box rule-set...'
|
||||
sing-box rule-set convert --type adguard ./anti-ad-adguard.txt --output ./anti-ad-sing-box.srs
|
||||
sha256sum ./anti-ad-sing-box.srs
|
||||
echo 'Compiling mihomo ruleset...'
|
||||
mihomo convert-ruleset domain yaml ./anti-ad-clash.yaml ./anti-ad-mihomo.mrs
|
||||
sha256sum ./anti-ad-mihomo.mrs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user