In my app I have a text view that shows ```System...
# compose-desktop
c
In my app I have a text view that shows
Copy code
System.getProperty("composeApp.version")
That property is null on my dev machine, but if I sign a build for my mac, then it shows properly "1.0.0". Any idea why that is?
a
it is because the release app is created by jpackage which adds some properties for example app installation folder etc.. and these properties are not available when you run the app using IDE I suggest you to have your own Versioning logic. take a look at
KotlinVersion
class then generate it in the code with
BuildConfig