Upload files to "/"
Some checks failed
Auto build / Build Debian Package (push) Successful in 53s
Auto build / Build Flatpak Package (push) Failing after 31s

This commit is contained in:
Nova Cat 2024-12-27 17:32:57 -08:00
parent 27f248292e
commit 00be7e6206
3 changed files with 59 additions and 4 deletions

View file

@ -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"
}
]
}

8
flatpak.desktop Normal file
View file

@ -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

20
flatpak.xml Normal file
View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>codes.swee.SweeCryptGTK</id>
<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<name>Simple and fun cipher</name>
<summary>A frontend for the SweeCrypt python module</summary>
<url type="homepage">https://git.swee.codes/swee/sweecrypt-gtk</url>
<description>
<p>A frontend for the <a href="https://github.com/sweezero/sweecrypt">SweeCrypt Python Module</a>.</p>
</description>
<releases>
<release date="2024-12-24" version="1.2"/>
</releases>
<content_rating type="oars-1.0"/>
<developer_name>SWEE.codes</developer_name>
<!-- <url type="bugtracker">https://</url> -->
<update_contact>meow@swee.codes</update_contact>
<launchable type="desktop-id">codes.swee.SweeCryptGTK.desktop</launchable>
</component>