[CI > Win] Fix error in setup manifest download

pull/52/head
Oj 2 years ago
parent 121f344f84
commit 1117f6ae4b

@ -98,7 +98,7 @@ jobs:
- name: Setup Client
run: |
# Download latest client from updater v2 and extract (manifest -> brotli -> tar)
wget "$(curl https://discord.com/api/updates/distributions/app/manifests/latest\?channel\=canary\&platform\=win\&arch\=x86 | python -c 'import json,sys;print(json.load(sys.stdin)["full"]["url"])')"
wget "$(curl 'https://discord.com/api/updates/distributions/app/manifests/latest?channel=canary&platform=win&arch=x86' | python -c 'import json,sys;print(json.load(sys.stdin)["full"]["url"])')"
node -e "fs.writeFileSync('full.tar', zlib.brotliDecompressSync(fs.readFileSync('full.distro')))"
tar xf full.tar

Loading…
Cancel
Save