Last active
April 10, 2024 14:00
-
-
Save MeexReay/6511d7a78490d977acc6ffcd52253298 to your computer and use it in GitHub Desktop.
Bash file that updates discord from xbps-src (VOID LINUX) (with vencord)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$(id -u)" -ne 0 ]; then sudo bash update-discord.sh >&2; exit 1; fi | |
rm -f -r -v void-packages | |
git clone https://github.com/void-linux/void-packages.git | |
chmod -R -v 777 "void-packages" | |
cd void-packages | |
sudo -u user ./xbps-src binary-bootstrap | |
echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf | |
sudo -u user ./xbps-src pkg discord | |
xbps-install --repository hostdir/binpkgs/nonfree discord --yes | |
sudo -u user set -- "XDG_CONFIG_HOME=$XDG_CONFIG_HOME" | |
sudo -u user curl -sS https://github.com/Vendicated/VencordInstaller/releases/latest/download/VencordInstallerCli-Linux \ | |
--output "vencord-installer" \ | |
--location | |
sudo -u user chmod +x "vencord-installer" | |
./vencord-installer -install=true -branch=auto | |
sudo -u user rm -f vencord-installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment