Add flatseal as a default app
This commit is contained in:
14
overlay/usr/bin/install_flatseal.sh
Executable file
14
overlay/usr/bin/install_flatseal.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo "**** Installing/upgrading Flatseal via flatpak ****"
|
||||||
|
|
||||||
|
# Install Flatseal
|
||||||
|
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
flatpak --user install --assumeyes --or-update com.github.tchx84.Flatseal
|
||||||
|
|
||||||
|
# Configure Flatseal
|
||||||
|
echo "Configure Flatseal..."
|
||||||
|
sed -i 's/^Categories=.*$/Categories=Utility;/' \
|
||||||
|
${USER_HOME}/.local/share/flatpak/exports/share/applications/com.github.tchx84.Flatseal.desktop
|
||||||
|
|
||||||
|
echo "DONE"
|
||||||
@@ -6,7 +6,7 @@ echo "**** Installing/upgrading ProtonUp-Qt via flatpak ****"
|
|||||||
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
flatpak --user install --assumeyes --or-update net.davidotek.pupgui2
|
flatpak --user install --assumeyes --or-update net.davidotek.pupgui2
|
||||||
|
|
||||||
# Configure Firefox as the default browser
|
# Configure ProtonUp-Qt
|
||||||
echo "Configure ProtonUp-Qt..."
|
echo "Configure ProtonUp-Qt..."
|
||||||
sed -i 's/^Categories=.*$/Categories=Utility;/' \
|
sed -i 's/^Categories=.*$/Categories=Utility;/' \
|
||||||
${USER_HOME}/.local/share/flatpak/exports/share/applications/net.davidotek.pupgui2.desktop
|
${USER_HOME}/.local/share/flatpak/exports/share/applications/net.davidotek.pupgui2.desktop
|
||||||
|
|||||||
Reference in New Issue
Block a user