Skip to content

Commit

Permalink
fix: mac connect for quasar electron apps
Browse files Browse the repository at this point in the history
  • Loading branch information
GhyslainBruno authored and friedrith committed Jul 2, 2020
1 parent 3a7e6bc commit 8005de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function connectToWifi(config, ap, callback) {
args.push(ap.ssid);
args.push(ap.password);

execFile('networksetup', args, { env }, function(err, resp) {
execFile('/usr/sbin/networksetup', args, { env }, function(err, resp) {
if (resp && resp.indexOf('Failed to join network') >= 0) {
callback && callback(resp);
} else if (resp && resp.indexOf('Could not find network') >= 0) {
Expand Down

0 comments on commit 8005de9

Please sign in to comment.