Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoupdate example #160

Open
outcast292 opened this issue Nov 18, 2020 · 1 comment
Open

autoupdate example #160

outcast292 opened this issue Nov 18, 2020 · 1 comment
Labels
question Further information is requested

Comments

@outcast292
Copy link

hello .
i ve been using your plugin for so long . and it has helped me to distribute my projects .
but till now i still didn't find an efficient way to implement an automatic update to my software (i distribute it in Jlink images and jpackages builds too ) . and i ve been wondering if theres any example to do it ?
thank you for the good work

@siordache
Copy link
Member

I'm afraid there are no examples. It can be done with update4j, but I didn't use it yet, so I can't help with details.

Because update4j needs to replace some of the JARs of your application with newer versions, these JARs should not be included in the custom runtime image produced by jlink. To do this, you need to use the customImage block, which was introduced as response to a request to allow using update4j with this plugin.

It's definitely a lot of work, but if you manage to create an example project, I will be more than glad to put a link to it on the plugin's page.

@airsquared airsquared added the question Further information is requested label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants