How to specify app version? #190
Unanswered
vbissonnette92
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Just following up... Does anyone have any ideas about how to specify the app-version of a package separately from specifying the version of that package? |
0 replies
|
On Mac, it looks like it just hard-codes the .app version as 1.0.0. It would be easy to make this configurable. I'll create a ticket to add this, hopefully for next release. (However, one problem is that this version will only reflect the version when it was installed. The auto-update only updates the app contents, not the .app, so the app version will never changed after installation - which makes this a bit problematic. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
json file.pdf

Friends,
For my statistics package, I like to specify a version number that reflects the last update of the software. For example, currently the version is 25.7.2 (2025, July Release, 2nd attempt).
One of my Mac users needs the app-version to match the published version. As you can see with the attached image, the current app-version is 1.0.0. When packaging with JPackage, I could add an option to update the app-version:
In JDeploy, I attempted to modify the app-version in the .json file (see attached). I added this code:
"jdeploy": {
"jdk": false,
"args": [
""config": {",
""appversion": "25.7.2",",
""markdown": [],",
""json": [],",
""ignore": []",
"}"
],
No dice. The app-version is still 1.0.0.
Any advice on how to adjust the app-version in JDeploy?
Thank you.
Victor
All reactions