This just prevents people from seeing a black screen for a long time and assuming something is going wrong. This initial setup is installaing flatpaks to the mounted home directory. This will not need to happen on every container startup. So this black screen is only a problem on the first start. But this change at least gives people something to look at. Closes #50
15 lines
505 B
Bash
Executable File
15 lines
505 B
Bash
Executable File
#!/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"
|