blob: adb96f2b939a08be048c369d794bf2a05b406c93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
# Copyright (c) 2024 Vendicated and Vencord contributors
set -e
outfile=$(mktemp /tmp/vencord.XXXXXX)
trap 'rm -f "$outfile"' EXIT
curl -sSL https://github.com/Vendicated/VencordInstaller/releases/latest/download/VencordInstallerCli-Linux \
--output "$outfile"
chmod +x "$outfile"
while IFS= read -r package || [ -n "$package" ]; do
branch=""
case $package in
discord)
branch="stable"
;;
discord-canary)
branch="canary"
;;
discord-ptb)
branch="ptb"
;;
*)
echo "unknown package: $package" >&2
continue
;;
esac
"$outfile" -install -branch "$branch"
done
|