Server-side version-check module for apps
npm install versionchecksudo npm install -g versioncheck
Once installed it can be started like this:
sudo versioncheck
It will daemonize itself and run in background, spawning a process for every CPU core available.
{
"ENVIRONMENT": "development",
"HOST": "0.0.0.0",
"PORT": 4554,
"PLATFORMS":
{
"WINXP":
{
"VERSIONS":
[
{"NUMBER": "0.4.0", "upgrade_url": "http://www.myawesomeservice.com/" }
]
},
"WIN7":
{
"VERSIONS":
[
{"NUMBER": "0.4.0", "upgrade_url": "http://www.myawesomeservice.com/" }
]
},
"WIN8":
{
"VERSIONS":
[
{"NUMBER": "0.4.0", "upgrade_url": "http://www.myawesomeservice.com/" }
]
},
"OSX":
{
"VERSIONS":
[
{"NUMBER": "0.4.0", "upgrade_url": "http://www.myawesomeservice.com/" }
]
}
}
}