electron executable path code example Example: electron get exe path const basepath = require('electron').remote.app.getAppPath()