Fix font install, add protonup for fedora

This commit is contained in:
askiiart 2023-12-07 12:25:29 -06:00
parent b6f920878c
commit cbaa575871
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
3 changed files with 11 additions and 2 deletions

View file

@ -8,7 +8,7 @@ fi
command_exists() { type "$1" &>/dev/null; }
echo "WARNING: Only Arch is fully supported"
echo "WARNING: Only Arch and Fedora fully supported"
if command_exists "apt-get"; then
sudo apt-get install kitty -y
@ -33,3 +33,9 @@ else
echo "Unsupported: unknown package manager and distro"
exit
fi
sudo mkdir /usr/share/fonts/meslolgs
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_regular.ttf' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_regular.ttf'
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_bold.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_bold.ttf'
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_italic.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_italic.ttf'
sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_bold_italic.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_bold_italic.ttf'

View file

@ -13,6 +13,9 @@ if command_exists "apt-get"; then
sudo dpkg -i steam.deb
elif command_exists "dnf"; then
sudo dnf install steam -y
sudo dnf install appimagelauncher qt5-qtbase-gui -y
mkdir $HOME/Applications
curl -L $(curl -s https://api.github.com/repos/DavidoTek/ProtonUp-Qt/releases/latest | grep "browser_download_url.*ProtonUp-Qt-.*-x86_64.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -o $HOME/Applications/ProtonUp-Qt.AppImage
elif command_exists "yay"; then
#printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
#read -p "Enable the multilib repo in /etc/pacman.conf - look above"

View file

@ -8,7 +8,7 @@ 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
curl -LO $(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 \")
sudo apt-get install ./VencordDesktop_*.deb -y
elif command_exists "yum"; then
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*VencordDesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")