vaxace
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2010
09:35 PM
Retrieve application version
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.
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.
2 REPLIES 2
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2010
10:35 PM
Re: Retrieve application version
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.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
vaxace
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2010
08:12 AM
Re: Retrieve application version
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.
I need to remember that all of the files are available from the app.
Thanks for the useful answer. :mrgreen:
D.