Application Build Timestamp

Questions and information about Crank Software's Storyboard Engine

Moderator: jamiev

Application Build Timestamp

Postby Atrived » Thu Dec 01, 2016 3:48 pm

Hi, is there a way in storyboard engine or storyboard designer to store the timestamp at the time of build so it can be displayed on the screen during runtime?
Atrived
 
Posts: 1
Joined: Thu Dec 01, 2016 3:44 pm

Re: Application Build Timestamp

Postby nschultz » Thu Dec 01, 2016 4:20 pm

Hello Atrived,

Storyboard Designer does not actually produce or compile code so you will have to be a bit more specific about what you mean by "built time". In theory you could store the last modified timestamp of your .gde or .gapp file and display that however we have no direct way to read this from the file. You could store this value on your file system and read it in, if so you could look into the io api to handle this.

https://www.lua.org/manual/5.1/manual.html#5.7

Hopefully this helps out

Nik
nschultz
 
Posts: 26
Joined: Fri Jul 17, 2015 1:51 pm

Re: Application Build Timestamp

Postby jason » Thu Dec 01, 2016 4:22 pm

The version of the engine can be obtained with gre.env
http://www.cranksoftware.com/cranksoftware/v4.2.1/docs/ch08s07.html#d0e8853
It doesn't contain the actual build date but you can get that on the command like by starting sbengine with a "-i"
User avatar
jason
 
Posts: 193
Joined: Mon Nov 02, 2009 4:53 pm


Return to Storyboard Engine

Who is online

Users browsing this forum: No registered users and 2 guests

cron