The connect doesn't work on a mac when developing a quasar electron application.
It doesn't work because when quasar launches the electron app (it uses webpack) it doesn't have access to the same PATH, and so, node can't find the networksetup tool.
Motivation and Context
Motivation for this PR is that it won't change anything for "normal" electron users, but make win some useful time for quasar users (as for other frameworks of that kind).
Usage examples
Nothing changes for end the usages of node-wifi library.
How Has This Been Tested?
Need to have an quasar electron app to see that error.
Tested as it is asked in test/README.md, using a .env file and running the tests (on a mac machine - Catalina).
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related issue
Description
The connect doesn't work on a mac when developing a quasar electron application. It doesn't work because when quasar launches the electron app (it uses webpack) it doesn't have access to the same PATH, and so, node can't find the networksetup tool.
Motivation and Context
Motivation for this PR is that it won't change anything for "normal" electron users, but make win some useful time for quasar users (as for other frameworks of that kind).
Usage examples
Nothing changes for end the usages of node-wifi library.
How Has This Been Tested?
Need to have an quasar electron app to see that error. Tested as it is asked in test/README.md, using a .env file and running the tests (on a mac machine - Catalina).
Types of changes