getPath point to Electron directory 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')