If i place this in my node app, after it successfully creates the hotspot, stops/exits the node execution:
var hotspotSettings = {
ssid: 'test',
password: '123456',
force: true, // (optional) if hosting a network already turn it off and run ours.
}
hotspot.enable(hotspotSettings)
.then(function() {
console.log('Hotspot Enabled')
})
.catch(function(e) {
Console.log('Something went wrong; Perms?', e)
});
C:\Users\me\Desktop\wifi>node main.js
Configuring hotspot with SSID: test
Starting hotspot
Hotspot started!
ICS Configuration successful!
Hotspot Enabled
C:\Users\me\Desktop\wifi>
As you can see, after enabled message, node stops as if i had pressed CTRL + C
¿Any idea on why is this happening?
¡Thank you so much for creating this!
O.S: Windows 10 hotspot version: 0.1.7
If i place this in my node app, after it successfully creates the hotspot, stops/exits the node execution:
As you can see, after enabled message, node stops as if i had pressed CTRL + C ¿Any idea on why is this happening?