Closed mertakozcan closed 6 years ago
Hi! I'm not the architect of the whatsnew feature, but it seems the URL is stored in the manifest, and it can (and should) point to an external URL. So simply give it a publicly available/external URL and it should update just fine. Does that work for you? (I've updated the README)
Hi Edvin,
If you look at here, it actually loads html file from class path. Am I wrong about this?
You’re correct. Not sure this was thought through. Let’s change it to simply show the given URL :) @ronsmits any input?
That would be great, thanks!
Sure thing. I will fix it later today :)
Sorry about the delay. FXLauncher 1.0.20 should be in Maven Central shortly :)
No problem, thanks! :)
Hi,
I was trying to use
What's New
feauture but there is a point I don't get. In readme, it says that we should embed whatsnew.html to fxlauncher.jar, and set--whats-new
argument for manifest. AFAIK, we can't update fxlauncher.jar, so how are we supposed to show What's New page to user after every update? What am I missing?Here is my pom.xml, (irrelevant parts are removed)
After I packaged my project, I can see that whatsnew.html is inside fxlauncher.jar. However, the problem is that my users won't be able to get new fxlauncher.jar, and since I set
--whats-new
argument, after a user updates the app, FXLauncher looks for that file but obviously can't find, because it didn't download the new fxlauncher.jar.So the question is, can I show a What's New page to user after every automatic update?