diff --git a/build-flatpak.sh b/build-flatpak.sh index e7c007c9..26154fe9 100755 --- a/build-flatpak.sh +++ b/build-flatpak.sh @@ -20,7 +20,7 @@ else fi echo "Initializing Flatpak" -flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo +sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak install org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 cd $INSTALL_DIR