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
4
u/shannah78 Mar 06 '26
Yes. You can create a separate repository for releases and jdeploy can publish there. It's just one property (target_repository) in the workflow. Alternatively you can publish to npm, but github probably makes more sense if you're already on there. Happy to make a pr with the workflow set up to publish on release. Just ping me