Jump to content

Notice for users using builds.json to detect versioning


Recommended Posts

Some time within the past week or two (maybe a month?  Hard to remember last time I used it.) Klei has made changes to:

https://s3.amazonaws.com/dstbuilds/builds.json

The versions in the json object are no longer string typed but integer typed.

Old:

{"anewreignbeta":["188845","189341","189462",

New:

{"anewreignbeta":[188845,189341,189462,

This may affect some of your scripts and should be updated.

  • Thanks 2
Link to comment
Share on other sites

Thanks for pointing this out. I'm using GLOBAL.tonumber() now where I compare versions in builds.json to GLOBAL.APP_VERSION to force variables to be treated as numbers.  That way is should work fine for strings and numbers in the future even if the format of build.json changes again.

  • Sanity 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...