Great big ESLint

This commit is contained in:
Joel Collins 2019-11-11 16:33:43 +00:00
parent 051eabbdc3
commit ebcb938da1
48 changed files with 3890 additions and 2536 deletions

View file

@ -1,9 +1,9 @@
const Store = require('electron-store');
const Store = require("electron-store");
const store = new Store();
if (store.has('drawCustomTitleBar') !== true) {
if (store.has("drawCustomTitleBar") !== true) {
// Default to false if on MacOS, otherwise true
store.set('drawCustomTitleBar', (process.platform === 'win32') ? true : false)
store.set("drawCustomTitleBar", process.platform === "win32" ? true : false);
}
module.exports.store = store
module.exports.store = store;