mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 11:27:02 -04:00
MemoryUsage go brrrrrrr
This commit is contained in:
parent
702ea3ba46
commit
af975d9fdf
4 changed files with 212 additions and 0 deletions
|
@ -69,6 +69,8 @@ export default {
|
|||
|
||||
native: {
|
||||
getVersions: () => process.versions as Partial<NodeJS.ProcessVersions>,
|
||||
systemMemoryInfo: () => (process.getSystemMemoryInfo()),
|
||||
heapUsuage: () => (process.getHeapStatistics()),
|
||||
openExternal: (url: string) => invoke<void>(IpcEvents.OPEN_EXTERNAL, url)
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue