I need to get the system info on the multi platforms in Electron
. How to get the system information in Electron
?
Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application.
Electron will listen for V8 inspector protocol messages on the specified port , an external debugger will need to connect on this port. The default port is 5858 .
Electron is one of the most popular desktop frameworks today. Electron uses HTML, JavaScript, and CSS for its front end and Node. js for its backend. This design enables developers to quickly write and easily maintain cross-platform applications between their desktop and web applications.
Check out this page https://nodejs.org/api/os.html. It is nodejs documentation, but since electron and node are very much the same thing it will work.
var os = require('os');
is what you are looking for though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With