Mines, my Compose Multiplatform Minesweeper-clone,...
# feed
s
Mines, my Compose Multiplatform Minesweeper-clone, is now available on the Microsoft App Store 🎉 Check it out on https://apps.microsoft.com/detail/9nw19gl6br5k For alternative desktop versions (and the GPL3 source code), see https://github.com/StefanOltmann/mines/releases 🙂
👌 1
👍 15
👏 1
👍🏻 1
🪟 2
l
People from years back would look in disbelief at the 115MB size for minesweeper, but what can we do 🤷‍♂️ 😁
😅 2
s
From how many years back? 😬 I mean, it bundles a JVM. JVM is 110 MB and the app itself like 5 MB - as always. 😄
s
Are you including all the jdk modules? Jlinked runtime with
java.base
(unzipped) is only 29Mb
👀 1
Copy code
$ jlink \
          --verbose \
          --module-path ${JAVA_HOME}/jmods \
          --add-modules="java.base,java.desktop" \
          --compress=zip-9 \
          --strip-debug \
          --strip-java-debug-attributes \
          --no-man-pages \
          --no-header-files \
          --output custom-runtime
$ du -ah custom-runtime
  29M  custom-runtime
s
I am not sure what Hydraulic Conveyor does here.