diff --git a/install-stuff/install-armcord.bash b/install-stuff/install-armcord.bash index 531698d..a557403 100755 --- a/install-stuff/install-armcord.bash +++ b/install-stuff/install-armcord.bash @@ -8,11 +8,12 @@ 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 curl -L https://askiiart.net/repos/debian/dists/bookworm/stable/binary-amd64/askiiart.list -o /etc/apt/sources.list.d/askiiart.list sudo apt update --allow-insecure-repositories - sudo apt install armcord -y + sudo apt install armcord -y --allow-unauthenticated elif command_exists "yum"; then sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo + sudo dnf install ArmCord -y elif command_exists "pacman"; then yay -S armcord-bin else diff --git a/install-stuff/install-yt-music.bash b/install-stuff/install-yt-music.bash new file mode 100755 index 0000000..ac0f824 --- /dev/null +++ b/install-stuff/install-yt-music.bash @@ -0,0 +1,19 @@ +#!/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/dists/bookworm/stable/binary-amd64/askiiart.list -o /etc/apt/sources.list.d/askiiart.list + sudo apt update --allow-insecure-repositories + sudo apt install youtube-music -y --allow-unauthenticated +elif command_exists "yum"; then + sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo + sudo dnf install youtube-music -y +else + echo "IDK, check the repo: https://github.com/th-ch/youtube-music" +fi