Would a contribution to the docs about native dist...
# compose-desktop
a
Would a contribution to the docs about native distribution with flatpak be accepted? To even bother writing it or not 😛 It would allow to support tons of linux distros compared to the limited
.deb
currently allowed by jpackage. Adding a dedicated section for flatpak here: https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution
b
Doesn't jpackage already support AppImage for general linux distribution?
a
Uses the same name but apparantly it's a different format 😅
b
Blimey! No wonder I couldn't get it to work 😀
Was trying for an entirely different thing!
a
I had the exact same issue 😄 The naming is very confusing
b
Yeah, flatpack support for CfD would be awesome. Maybe the plugin could even generate it for us from jpackage app-image output
Similar to how the linked SO suggests to get AppImage
If you could write up some documentation on how to do it manually I could try raising a PR against CfD gradle plugin to automate it.
a
Not sure how easy would be to automate it (since it requires to have flatpak install + the required runtime), or if it even makes sense because you usually want to deploy the JAR with the config flatpak config files, but I'll write an example of how to do it. If it's not accepted for the official docs, I guess I'll write some kind of blog post for ppl interested in the future
🎉 4