mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Wire it up
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
'lib/common/api/deprecations.js',
|
||||
'lib/common/api/exports/electron.js',
|
||||
'lib/common/api/native-image.js',
|
||||
'lib/common/api/process-stats.js',
|
||||
'lib/common/api/shell.js',
|
||||
'lib/common/init.js',
|
||||
'lib/common/reset-search-paths.js',
|
||||
|
||||
@@ -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