mirror of
https://github.com/electron/electron.git
synced 2026-02-17 02:21:37 -05:00
Wire it up
This commit is contained in:
@@ -21,6 +21,12 @@ exports.defineProperties = function (exports) {
|
||||
return require('../native-image')
|
||||
}
|
||||
},
|
||||
processStats: {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return require('../process-stats')
|
||||
}
|
||||
},
|
||||
shell: {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
|
||||
1
lib/common/api/process-stats.js
Normal file
1
lib/common/api/process-stats.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = process.atomBinding('process_stats')
|
||||
Reference in New Issue
Block a user