Add systemPreferences module
This commit is contained in:
parent
60b9ff3948
commit
13f8599ba1
7 changed files with 114 additions and 0 deletions
6
lib/browser/api/system-preferences.js
Normal file
6
lib/browser/api/system-preferences.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
const {EventEmitter} = require('events')
|
||||
const {systemPreferences} = process.atomBinding('system_preferences')
|
||||
|
||||
Object.setPrototypeOf(systemPreferences, EventEmitter.prototype)
|
||||
|
||||
module.exports = systemPreferences
|
Loading…
Add table
Add a link
Reference in a new issue