diff --git a/GNUmakefile b/GNUmakefile index 6eac30b3..68be1793 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1217,7 +1217,8 @@ appimage: out/tildefriends-x86_64.AppImage ## Build an AppImage. .PHONY: appimage flatpak: out/ ## Build a flatpak. - flatpak-builder --force-clean --user --install-deps-from=flathub --install --repo=out/flatpak-repo out/flatpak src/com.unprompted.tildefriends.yml + flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + flatpak-builder --user --install-deps-from=flathub --install --repo=out/flatpak-repo out/flatpak src/com.unprompted.tildefriends.yml flatpak build-bundle out/flatpak-repo out/tildefriends.flatpak com.unprompted.tildefriends .PHONY: flatpak