How to differentiate between the main process and renderer process in Electron (atom shell)?
var isRenderer = (process && process.type === 'renderer')
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