Can someone share a video of installing a packaged...
# compose-desktop
a
Can someone share a video of installing a packaged compose desktop app on linux? Don't have a linux machine to test. My main concern shipping to linux is the installation process
m
My main concern is that people keep asking me for different installer types than the ones provided by Compose (actually jpackage). Flatpak, Snap or AppImage for example.
🧐 1
j
Run a linux VM?
6
d
Jpackage can build DED (apt), RPM (yum/dnf) and AppImage packages. The install process is flawless for deb and rpm packages. You download the package, double-click it, that opens the Software application (the one of your distribution) and then you click the "Install" button. After that, you have the application in your applications. I'll try to make a video of the full install process tomorrow.
🙏 1
Note that there is this current Compose Gradle Plugin issue that I hope will be fixed soon: https://youtrack.jetbrains.com/issue/CMP-7194
m
Do you mean DEB? I don’t know any DED format and also can’t find it in the latest docs: https://docs.oracle.com/en/java/javase/25/docs/specs/man/jpackage.html Also, are you sure about your interpretation of the app-image support. As far as I know this does not mean the Linux AppImage format. Instead it stands for a native application image before packaging.
d
Yeah I meant "deb", sorry.
The
jpackage
docs state:
Copy code
--type or -t <type string>
  The type of package to create
  Valid values are: {"app-image", "exe", "msi", "rpm", "deb", "pkg", "dmg"}
  If this option is not specified a platform dependent default type will be created.
There,
app-image
stands for AppImage packages.
m
I know that part of the jpackage docs but as far as I know this does not mean a Linux AppImage. Have you actually checked that this creates a valid Linux AppImage?
d
Yes
m
If that’s true it would be helpful but I only get this error message on my Mac when I add this option to the list.
Copy code
Could not create task ':composeApp:notarizeAppImage'.
Could not create task of type 'AbstractNotarizationTask'.
AppImage cannot be notarized!
Normally this should just be skipped but it isn’t.