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