fix: ensure bluetooth devices are not returned by default (#32195)

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
This commit is contained in:
trop[bot]
2021-12-15 19:51:39 -08:00
committed by GitHub
parent 9961c7aa77
commit a6f04822d9
2 changed files with 10 additions and 0 deletions

View File

@@ -730,6 +730,8 @@ first available device will be selected. `callback` should be called with
`deviceId` to be selected, passing empty string to `callback` will
cancel the request.
If no event listener is added for this event, all bluetooth requests will be cancelled.
```javascript
const { app, BrowserWindow } = require('electron')