'use strict';
const app = require('app');
const fs = require('fs');
const path = require('path');
const dataFilePath = path.join(app.getPath('userData'), 'data.json');

function readData() {
	try {
		return JSON.parse(fs.readFileSync(dataFilePath, 'utf8'));
	} catch (err) {
		return {};
	}
}

exports.set = (key, val) => {
	const data = readData();
	data[key] = val;
	fs.writeFileSync(dataFilePath, JSON.stringify(data));
};

exports.get = key => readData()[key];


@@ -13,19 +13,18 @@
 ;%0Aconst 
-app
+fs
  = requi
@@ -27,19 +27,18 @@
 equire('
-app
+fs
 ');%0Acons
@@ -31,34 +31,36 @@
 re('fs');%0Aconst 
-fs
+path
  = require('fs')
@@ -47,34 +47,36 @@
 path = require('
-fs
+path
 ');%0Aconst path =
@@ -61,36 +61,40 @@
 ('path');%0Aconst 
-path
+electron
  = require('path
@@ -81,36 +81,40 @@
 tron = require('
-path
+electron
 ');%0Aconst dataFi
@@ -132,16 +132,25 @@
 th.join(
+electron.
 app.getP

fix lint issue