Add ArmCord & Steam installs, + minor updates

This commit is contained in:
askiiart 2023-09-11 22:22:20 -05:00
parent c86fa46a01
commit b371a1642e
No known key found for this signature in database
GPG key ID: C89CBC4F981EE719
5 changed files with 64 additions and 20 deletions

View file

@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -e
if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root"
exit 1
fi
command_exists() { type "$1" &>/dev/null; }
if command_exists "apt-get"; then
sudo curl -L https://askiiart.net/repos/debian/bookworm/amd64/askiiart.list -C - -o /etc/apt/sources.list.d/askiiart.list
sudo apt update --allow-insecure-repositories
sudo apt install armcord -y
elif command_exists "yum"; then
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
elif command_exists "pacman"; then
yay -S armcord-bin
else
echo "IDK, check ArmCord's GitHub repo: https://github.com/ArmCord/ArmCord"
fi

View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e
if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root"
exit 1
fi
command_exists() { type "$1" &>/dev/null; }
if command_exists "apt-get"; then
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
sudo dpkg -i steam.deb
elif command_exists "yum"; then
sudo dnf install steam -y
elif command_exists "pacman"; then
echo "[multilib]\nInclude = /etc/pacman.d/mirrorlist"
read -p "Enable the multilib repo in /etc/pacman.conf - look above`
$EDITOR /etc/pacman.conf
else
echo "IDK"
fi