Skip to content

Commit 8005de9

Browse files
GhyslainBrunofriedrith
authored andcommitted
fix: mac connect for quasar electron apps
1 parent 3a7e6bc commit 8005de9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mac-connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function connectToWifi(config, ap, callback) {
1212
args.push(ap.ssid);
1313
args.push(ap.password);
1414

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

0 commit comments

Comments
 (0)