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