My home folder is already a mess of dot files, its better to avoid that if possible. Utilize require('electron').app.getPath('userData') to store application data in the preferred OS location for application data. You can separate out user data into the default document location: app.getPath('documents')
My home folder is already a mess of dot files, its better to avoid that if possible. Utilize
require('electron').app.getPath('userData')
to store application data in the preferred OS location for application data. You can separate out user data into the default document location:app.getPath('documents')
See: https://github.com/electron/electron/blob/master/docs/api/app.md#appgetpathname And https://github.com/sindresorhus/electron-store