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