Wire it up
This commit is contained in:
parent
a7ac7ba4c1
commit
f4538daa0a
3 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
||||||
'lib/common/api/deprecations.js',
|
'lib/common/api/deprecations.js',
|
||||||
'lib/common/api/exports/electron.js',
|
'lib/common/api/exports/electron.js',
|
||||||
'lib/common/api/native-image.js',
|
'lib/common/api/native-image.js',
|
||||||
|
'lib/common/api/process-stats.js',
|
||||||
'lib/common/api/shell.js',
|
'lib/common/api/shell.js',
|
||||||
'lib/common/init.js',
|
'lib/common/init.js',
|
||||||
'lib/common/reset-search-paths.js',
|
'lib/common/reset-search-paths.js',
|
||||||
|
|
|
@ -21,6 +21,12 @@ exports.defineProperties = function (exports) {
|
||||||
return require('../native-image')
|
return require('../native-image')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
processStats: {
|
||||||
|
enumerable: true,
|
||||||
|
get: function () {
|
||||||
|
return require('../process-stats')
|
||||||
|
}
|
||||||
|
},
|
||||||
shell: {
|
shell: {
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
get: function () {
|
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')
|
Loading…
Reference in a new issue