Skip to content

Commit 84549cb

Browse files
authored
fix: windows connection profile execute
The network profile add command is being executed with wrong filename. Fixes issue #78
1 parent eeaef52 commit 84549cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows-connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function connectToWifi(config, ap, callback) {
3737
})
3838
.then(function() {
3939
return execCommand(
40-
'netsh wlan add profile filename="' + ap.ssid + '.xml"'
40+
'netsh wlan add profile filename="nodeWifiConnect.xml"'
4141
);
4242
})
4343
.then(function() {

0 commit comments

Comments
 (0)