electron get main path code example
Example: electron getPath
const { app } = require('electron')
app.getPath('userData')
// or
const { remote } = require('electron')
remote.app.getPath('userData')
const { app } = require('electron')
app.getPath('userData')
// or
const { remote } = require('electron')
remote.app.getPath('userData')