code: function getSettings(desktopPath) {
      let settings = {};
      try {
          settings = JSON.parse(
              fs.readFileSync(path.join(desktopPath, 'settings.json'), 'UTF-8')
          );
      } catch (e) {
          return {};
      }
      return settings;
  }
docs: Tries to read a settings.json file from desktop dir.
  
  @param {string} desktopPath - Path to the desktop dir.
  @returns {Object}