In the about part of my app i want to write the version of the app according to the date it was compiled. is there an automatic way to get this so i don't need to edit it manually all the time (as usually i do forget)?
thanks for the fast answer, for me it would take too much time to write the script, so unless somebody else also likes the idea i have to live with the manual solution.
Actually it is not that difficult: here is an example supporting android only:
<pluginname="Build Date"description="Create a BUILD-DATE file in assets containg the build date"><targetname="AndroidStudio,APK"><lua>
local f=io.open(Export.getProperty("sys.exportDir").."/app/src/main/assets/assets/BUILD-DATE","w")
f:write(os.time())
f:close()
local f=io.open(Export.getProperty("sys.exportDir").."/app/src/main/assets/assets/allfiles.txt","a+")
f:write("BUILD-DATE\n")
f:close()
</lua></target></plugin>
Comments
for me it would take too much time to write the script, so unless somebody else also likes the idea i have to live with the manual solution.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game