Replace ArmCord with Vesktop
This commit is contained in:
parent
a28c83e0ab
commit
e93c20154e
3 changed files with 26 additions and 26 deletions
|
@ -1,8 +1,4 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
cd ./dotfiles
|
|
||||||
chmod 700 restore.sh
|
|
||||||
./restore.sh
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
chmod 700 ./distro-specific.bash
|
chmod 700 ./distro-specific.bash
|
||||||
./distro-specific.bash
|
./distro-specific.bash
|
||||||
|
@ -14,7 +10,7 @@ cd ..
|
||||||
|
|
||||||
cd install-stuff/
|
cd install-stuff/
|
||||||
chmod 700 ./*.bash
|
chmod 700 ./*.bash
|
||||||
./install-armcord.bash
|
./install-vesktop.bash
|
||||||
./install-fish.bash
|
./install-fish.bash
|
||||||
./install-librewolf.bash
|
./install-librewolf.bash
|
||||||
./install-qemu-libvirt.bash
|
./install-qemu-libvirt.bash
|
||||||
|
@ -22,3 +18,8 @@ chmod 700 ./*.bash
|
||||||
./install-vs-code.bash
|
./install-vs-code.bash
|
||||||
./install-yt-music.bash
|
./install-yt-music.bash
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
cd ./dotfiles
|
||||||
|
chmod 700 restore.sh
|
||||||
|
./restore.sh
|
||||||
|
cd ..
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/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 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
|
|
||||||
echo "IDK, check ArmCord's GitHub repo: https://github.com/ArmCord/ArmCord"
|
|
||||||
fi
|
|
20
install-stuff/install-vesktop.bash
Executable file
20
install-stuff/install-vesktop.bash
Executable 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
|
||||||
|
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO
|
||||||
|
sudo apt-get install ./VencordDesktop_*.deb -y
|
||||||
|
elif command_exists "yum"; then
|
||||||
|
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO
|
||||||
|
sudo apt install ./VencordDesktop*.rpm -y
|
||||||
|
elif command_exists "pacman"; then
|
||||||
|
yay -S vencord-desktop-bin --noconfirm --needed
|
||||||
|
else
|
||||||
|
echo "IDK, check the repo: https://github.com/Vencord/Vesktop"
|
||||||
|
fi
|
Loading…
Reference in a new issue