fossasia / pslab-desktop

PSLab Desktop Application https://pslab.io
GNU General Public License v3.0
1.77k stars 364 forks source link

[Linux] PoC Flatpak packaging #687

Open tinywrkb opened 3 years ago

tinywrkb commented 3 years ago

I saw the latest FOSSASIA video update about the app the other day and thought I'll try and package the app as it might be something that I'm gonna use in the future.
This is pretty much untested as I don't have the HW.

Even if this is working correctly, this is definitely not ready for publishing on Flathub.org. There are a couple of issues and todos that are needed to be taken care of first:

Flatpak manifest

You gonna need to build the Flatpak manifest with flatpak-builder.
The sources manifests, generated-sources.json and python-dependencies.json were generated with flatpak-builder-tools

edit: I updated the Flatpak manifest link.

tinywrkb commented 3 years ago

It should be noted that Electron Builder recently gained support for building Flatpak bundles directly but won't fit for distributing via Flathub.