feat: stuff

This commit is contained in:
Strix 2024-03-22 10:04:21 +01:00
parent 04d15ad27d
commit 37c7eaf334
7 changed files with 34 additions and 8 deletions

View file

@ -0,0 +1,13 @@
#!/bin/sh
set -e
echo "Downloading newest package..."
curl -Lo /tmp/discord.deb "https://discord.com/api/download?platform=linux&format=deb"
cd /tmp
echo "Extracting package..."
xdeb discord.deb
echo "Installing package..."
sudo xbps-install -R /tmp/binpkgs discord
rm -rf /tmp/binpkgs
cd -