feat: add process.uptime() to sandboxed renderers (#26684)

This commit is contained in:
Milan Burda 2020-11-30 08:49:18 +01:00 committed by GitHub
parent c8c41fb727
commit 14c8e000cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

View file

@ -33,6 +33,7 @@
systemVersion: invoke(() => process.getSystemVersion()),
cpuUsage: invoke(() => process.getCPUUsage()),
ioCounters: invoke(() => process.getIOCounters()),
uptime: invoke(() => process.uptime()),
env: process.env,
execPath: process.execPath,
pid: process.pid,