// Required libraries
const settings = require('electron-settings');

settings.defaults({
  dbPath: 'not set'
});

// Create events for logging
// TODO: make only for development
settings.on('create', pathToSettings => {
  console.log('Setting path created: ', pathToSettings);
});

settings.on('write', () => {
  console.log('Settings have been saved.');
});

module.exports = {
  settings
};

@@ -59,24 +59,46 @@
 ettings');%0A%0A
+// Set default values%0A
 settings.def
@@ -120,18 +120,69 @@
 h: '
-not set'%0A%7D
+/Users/andrewgarcia/Desktop/'%0A%7D);%0Asettings.applyDefaultsSync(
 );%0A%0A

add working default settings