Move app install scripts to /usr/bin

This commit is contained in:
Josh.5
2023-08-22 15:55:21 +12:00
committed by Josh Sunnex
parent c671ba85cc
commit ee4fd33e72
6 changed files with 3 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
echo "**** Installing/upgrading ProtonUp-Qt via flatpak ****"
# Install ProtonUp-Qt
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --user install --assumeyes --or-update net.davidotek.pupgui2
# Configure Firefox as the default browser
echo "Configure ProtonUp-Qt..."
sed -i 's/^Categories=.*$/Categories=Utility;/' \
${USER_HOME}/.local/share/flatpak/exports/share/applications/net.davidotek.pupgui2.desktop
echo "DONE"