fix various things, format scripts

This commit is contained in:
askiiart 2024-04-20 20:35:22 -05:00
parent f5f010edd6
commit 2650eff42d
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
11 changed files with 19 additions and 16 deletions

View file

@ -14,11 +14,11 @@ elif command_exists "yum"; then
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
sudo dnf install ./vesktop-*.rpm -y
rm ./vesktop-*.rpm
elif command_exists "pacman"; then
elif command_exists "yay"; then
yay -S vesktop-bin --noconfirm --needed
elif command_exists "xbps-install"; then
cd ~/Applications
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*Vesktop-.*.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*Vesktop-.*.AppImage" | tail --lines 1 | cut -d : -f 2,3 | tr -d \")
cd -
else
echo "IDK, check the repo: https://github.com/Vencord/Vesktop"