diff --git a/codes.swee.SweeCryptGTK.json b/codes.swee.SweeCryptGTK.json index bc80aee..55bd8d2 100644 --- a/codes.swee.SweeCryptGTK.json +++ b/codes.swee.SweeCryptGTK.json @@ -1,9 +1,14 @@ { "app-id": "codes.swee.SweeCryptGTK", -"runtime": "org.freedesktop.Platform", -"runtime-version": "24.08", -"sdk": "org.freedesktop.Sdk", +"runtime": "org.gnome.Platform", +"runtime-version": "47", +"sdk": "org.gnome.Sdk", "command": "sweecrypt-gtk", +"finish-args": [ + "--socket=x11", + "--socket=wayland", + "--filesystem=xdg-config" +], "modules": [ { "name": "python3-modules", @@ -47,7 +52,13 @@ }, { "name": "sweecrypt-gtk", "buildsystem": "simple", -"build-commands": ["chmod 1777 sweecrypt-gtk-flatpak.py","install -D sweecrypt-gtk-flatpak.py /app/bin/sweecrypt-gtk", "install -D sweecrypt-gtk.ui /app/opt/sweecrypt-gtk.ui"], +"build-commands": ["chmod 1777 sweecrypt-gtk-flatpak.py", +"install -D sweecrypt-gtk-flatpak.py /app/bin/sweecrypt-gtk", +"install -D sweecrypt-gtk.ui /app/opt/sweecrypt-gtk.ui", +"install -D sweecrypt.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/codes.swee.SweeCryptGTK.png", +"install -D sweecrypt.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/codes.swee.SweeCryptGTK.svg", +"install -D flatpak.desktop /app/exports/share/applications/codes.swee.SweeCryptGTK.desktop", +"install -D flatpak.xml /app/share/metainfo/codes.swee.SweeCryptGTK.metainfo.xml"], "sources": [ { "type": "file", @@ -56,6 +67,22 @@ { "type": "file", "path": "sweecrypt-gtk-flatpak.py" +}, +{ +"type": "file", +"path": "flatpak.desktop" +}, +{ +"type": "file", +"path": "dpkg/usr/share/icons/hicolor/512x512/apps/sweecrypt.png" +}, +{ +"type": "file", +"path": "dpkg/usr/share/icons/hicolor/scalable/apps/sweecrypt.svg" +}, +{ +"type": "file", +"path": "flatpak.xml" } ] } diff --git a/flatpak.desktop b/flatpak.desktop new file mode 100644 index 0000000..761308e --- /dev/null +++ b/flatpak.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=SweeCrypt GTK +Comment=Simple and fun cipher +Exec=sweecrypt-gtk +Type=Application +Icon=codes.swee.SweeCryptGTK +Categories=Utility; +StartupNotify=false diff --git a/flatpak.xml b/flatpak.xml new file mode 100644 index 0000000..35d5b5c --- /dev/null +++ b/flatpak.xml @@ -0,0 +1,20 @@ + + + codes.swee.SweeCryptGTK + MIT + MIT + Simple and fun cipher + A frontend for the SweeCrypt python module + https://git.swee.codes/swee/sweecrypt-gtk + +

A frontend for the SweeCrypt Python Module.

+
+ + + + + SWEE.codes + + meow@swee.codes + codes.swee.SweeCryptGTK.desktop +