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 1a3447193c1823f7e6589bdb35c09e77ef149419
parent fe3673505a4b2d97774ec68e57520cb725fe49c2
Author: Marcel <mtrnord1@gmail.com>
Date:   Wed, 30 Nov 2016 08:25:05 +0100

some debugging

Diffstat:
Mindex.js | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/index.js b/index.js @@ -43,6 +43,7 @@ io.on('connection', function(socket){ if (assets[key]["name"] == local) { var local_asset = assets[key]["name"] console.log(release); + io.emit('AupdateStatus', 'local'); }else { console.log("not worked but:"); console.log(release); @@ -52,9 +53,6 @@ io.on('connection', function(socket){ }) } }); - - - io.emit('AupdateStatus', 'local'); }); });