Update flatpak-management.nix
This commit is contained in:
@@ -31,13 +31,10 @@ let
|
||||
${pkgs.flatpak}/bin/flatpak install -y --noninteractive flathub "$app"
|
||||
done
|
||||
|
||||
# Hardcoded Threema install because the beta is not on Flathub yet
|
||||
if ${pkgs.flatpak}/bin/flatpak info ch.threema.threema-desktop >/dev/null 2>&1; then
|
||||
echo "Threema Desktop is already installed"
|
||||
else
|
||||
echo "Installing Threema Desktop..."
|
||||
${pkgs.flatpak}/bin/flatpak install -y --from https://releases.threema.ch/flatpak/threema-desktop/ch.threema.threema-desktop.flatpakref --noninteractive
|
||||
fi
|
||||
# Ensure Threema Desktop (beta, non-Flathub) is installed or updated
|
||||
echo "Ensuring Threema Desktop is installed or updated..."
|
||||
${pkgs.flatpak}/bin/flatpak install -y --or-update --from \
|
||||
https://releases.threema.ch/flatpak/threema-desktop/ch.threema.threema-desktop.flatpakref
|
||||
|
||||
# Remove unused Flatpaks
|
||||
${pkgs.flatpak}/bin/flatpak uninstall --unused -y --noninteractive
|
||||
|
||||
Reference in New Issue
Block a user