[CI > Win] Fix error in setup manifest download
This commit is contained in:
parent
121f344f84
commit
1117f6ae4b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -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…
Reference in a new issue