From c94e67e8c05912c6637e0d22d284a6009eefcb59 Mon Sep 17 00:00:00 2001 From: Kasui92 Date: Sun, 25 Aug 2024 23:13:07 +0200 Subject: [PATCH 1/2] Use flatpak for Pinta installation --- install/desktop/app-pinta.sh | 4 ++-- uninstall/app-pinta.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/desktop/app-pinta.sh b/install/desktop/app-pinta.sh index 2894c001..07aeec25 100644 --- a/install/desktop/app-pinta.sh +++ b/install/desktop/app-pinta.sh @@ -1,2 +1,2 @@ -# FIXME: Get this out of snap -sudo snap install pinta +# Pinta is a free, open source program for drawing and image editing. See https://www.pinta-project.com/ +flatpak install -y flathub com.github.PintaProject.Pinta \ No newline at end of file diff --git a/uninstall/app-pinta.sh b/uninstall/app-pinta.sh index 66053836..56d21924 100644 --- a/uninstall/app-pinta.sh +++ b/uninstall/app-pinta.sh @@ -1 +1 @@ -sudo snap remove pinta +flatpak uninstall -y flathub com.github.PintaProject.Pinta From d56d80e71cd9ca897617ea4f5967ca52e32c535a Mon Sep 17 00:00:00 2001 From: Kasui92 Date: Tue, 27 Aug 2024 10:55:40 +0200 Subject: [PATCH 2/2] Add Pinta migration file --- migrations/1724620387.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/1724620387.sh diff --git a/migrations/1724620387.sh b/migrations/1724620387.sh new file mode 100644 index 00000000..f4f8e33f --- /dev/null +++ b/migrations/1724620387.sh @@ -0,0 +1,3 @@ +# Uninstall Pinta snap version and install the flatpak version +sudo snap remove pinta +flatpak install -y flathub com.github.PintaProject.Pinta \ No newline at end of file