i cloned `JetBrains/compose-jb` and did `desktop:...
# compose-desktop
a
i cloned
JetBrains/compose-jb
and did
desktop:package
. The size of resulting .app file is 104.5MB. I’m on macOS 11.5.1. Why is the application large for such a simple example project?
b
Embedded jre. You'll always get initial bloat for it. The bigger your app, the smaller fraction it will be
a
That’s what I thought @Big Chungus. But wouldn’t that negate the size advantage it has over Electron?
b
Can't comment on that, but I guess it compresses large apps better when compared with electron.
a
Got you @Big Chungus. Maybe it has runtime performance advantages too. Would it possible to skip the jre when updating the app?
b
No idea. It's not compose specific, really. Google around jpackage (jdk tool)
m
@Alexander Suraphel This size is quite normal for jpackaged apps. Did you ever look at the size of the Intellij app 😉? The distributable (DMG, PKG) should be a little smaller.
c
Curious of the size of the sample app in dmg, pkg, etc. If anyone has articles that'd be interesting to read up on.
m
My own app is 101.7 MB (DMG) and 122.7 MB (APP) if that are the figures you are interested in.
👍 1