electron get app path code example
Example 1: electron get exe path
const basepath = require('electron').remote.app.getAppPath()
Example 2: electron getPath
const { app } = require('electron')
app.getPath('userData')
// or
const { remote } = require('electron')
remote.app.getPath('userData')