Is there any way to retrieve the application version (major, minor, build) from within BrightScript?
I haven’t been able to find anything.
The roAppManager component seems like a logical place to find this, but it’s not there.
D.
Is there any way to retrieve the application version (major, minor, build) from within BrightScript?
I haven’t been able to find anything.
The roAppManager component seems like a logical place to find this, but it’s not there.
D.
manifest = ReadAsciiFile("pkg:/manifest")
' code or regex to parse manifest here...
Not exactly as easy as it could be if it was exported usefully, but definitely not impossible or really that hard.
As you say, not as clean as it could be, but certainly doable.
I need to remember that all of the files are available from the app.
Thanks for the useful answer. :mrgreen:
D.