Hey guys! I'm trying to produce a .dmg through the...
# kotlin-toolchain
p
Hey guys! I'm trying to produce a .dmg through the Kotlin toolchain for a CMP desktop app using the
kotlin package
command in the iDE using version 0.13.0, but it seems to not generate that output, I can't find it. The equivalent in gradle is something like
desktopApp:packageDistributionForCurrentOs
. Is this supported in Kotlin toolchain?
Btw, I'm enjoying the ergonomics of the toolchains a lot! The simplicity and tool support in IDE as well as the easy to use CLI, makes me very happy 😄
kodee loving 2
j
Thanks for the nice feedback! 💜 Unfortunately, we don't support generating native installers (including
.dmg
) just yet. There is an open issue to track packaging with `jpackage`: KTC-4536 We could also consider integrating directly with tools that create native installers.
s
I tried writing a toolchain plugin to package KMP apps. Maybe it can act as an interim solution github.com/SubhrajyotiSen/huami-token-kmp/…/desktop-package It's also used on the CI - github.com/SubhrajyotiSen/huami-token-kmp/blob/…/release.yml#…
🆒 1