for Linux?
I have had problems with snaps and for the longest time I have been packaging my apps with flatpak instead.
This time I really wanted to publish my Delphi/Firemonkey game (https://perun.tw/perun-software/floorsweeper-2/) on Snap Store, but just can't get my app to work from inside a built and installed snap - it thorws some runtime GTK3 exception and immediately crashes. I tried a version compiled with Lazarus, also could not get it to work from snap, but all works well from flatpak.
I have never tried to package in Flatpak. Only regular .deb packages 🤷♂️
yes I have been packaging with deb for a long time, but it's not distro-agnostic, and so I am looking into snaps, flatpaks, appimage...
Pascal exectables tend to be self contained, requiring no dependencies, so I fail to see any advange of snaps over .deb packages, but have you tried canonical's own build system, snapcraft? https://snapcraft.io/build https://github.com/canonical/snapcraft
so the advantage of snap/flatpak/appimage over .deb is that it will work for all distors, not just debian based. Look, on redhat/fedore you would need to package your app in rpm, to have an analogy of deb. So that
now, in the same post I explained that I actually want to package it with snap, but can't get the app to work out of a snap installation. It does work just fine out of a flatpak though. So I am yet to overcome this, and looking for anyone who has done it.
If it have GUI, it depends on many libs from system (probably gtk2).
Обсуждают сегодня