wifiConnections() fixed when no wifi chip (macOS)

This commit is contained in:
Sebastian Hildebrandt
2023-09-02 18:32:26 +02:00
parent b39c5177ff
commit 8cd06f8acc
4 changed files with 12 additions and 1 deletions
+5
View File
@@ -598,6 +598,11 @@ function wifiConnections(callback) {
}
resolve(result);
});
} else {
if (callback) {
callback(result);
}
resolve(result);
}
});
} else if (_windows) {