ls-manual-update

Checks for manual update of ls-vertretunsplan-desktop and tells outdated clients
git clone git://archive.git.mtrnord.blog/MTRNord/ls-manual-update.git
Log | Files | Refs | LICENSE

commit e806cf810df73e37da044e4caa2049673cdb75eb
parent 5db6001066f7c501abc9c4da13bdc68558b99e4b
Author: Marcel <mtrnord1@gmail.com>
Date:   Wed, 30 Nov 2016 09:19:41 +0100

some debugging

Diffstat:
Mindex.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.js b/index.js @@ -53,13 +53,14 @@ io.on('connection', function(socket){ console.log("request made: " + release); _.find(assets, function (key) { console.log(key); - if (key["name"] == local) { + if (key["name"] == 'local') { var local_asset = key["name"] console.log(release); io.emit('AupdateStatus', 'local'); }else { console.log("not worked but:"); console.log(release); + io.emit('AupdateStatus', 'NOTlocal'); } }) }else {