From 8a8005e2efc1ddc30a04c687c749dc797e00431c Mon Sep 17 00:00:00 2001 From: Christian Kuster Date: Fri, 9 Dec 2016 17:04:27 +0100 Subject: [PATCH] Windows fixes (work still in progress) --- index.js | 2 +- lib/netsh.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c2abdc7..3153032 100644 --- a/index.js +++ b/index.js @@ -74,4 +74,4 @@ module.exports = { } scanNetworks(callback); } -}; \ No newline at end of file +}; diff --git a/lib/netsh.js b/lib/netsh.js index da4dbcf..53ed0cf 100644 --- a/lib/netsh.js +++ b/lib/netsh.js @@ -6,7 +6,7 @@ const systemRoot = process.env.SystemRoot || 'C:\\Windows'; const tool = systemRoot + '\\System32\\netsh.exe'; const cmdLine = tool + ' wlan show networks mode=Bssid'; -const detector = tool + ' -h'; +const detector = tool + ' show alias'; /** * Parsing netnsh output. Unfortunately netsh supplies the network information