r/JavaFX • u/WhereIsFiji • Mar 05 '26
Help Windows Desktop application - how to handle updates?
I'm developing a desktop JavaFX app (~25k lines of code, Java21, Spring Boot).
I'm using jlink, jpackage and WiX tools to create a Windows installer. The app repo is on GitHub.
Now I would like to add feature for fetching the newer versions. But I don't want to force my users to manually uninstall and download a newer .msi file.
I think it should be possible to fetch only the .jar file with the newer release - does anyone know an existing example of such approach?
12
Upvotes
View all comments
Show parent comment
2
u/No-Security-7518 Mar 06 '26
I wrote a gradle plugin that publishes a list of changed files in a release. Then I use the badass-runtime plugin to publish. Changed files between releases are then updated.