Logs: Unused Logs dir.

This commit is contained in:
akashnimare
2017-12-19 03:42:42 +05:30
parent 3b412672c6
commit dc6582fa82

View File

@@ -1,5 +1,4 @@
'use strict';
const fs = require('fs');
const { app, dialog } = require('electron');
const { autoUpdater } = require('electron-updater');
const isDev = require('electron-is-dev');
@@ -15,10 +14,6 @@ function appUpdater() {
// Create Logs directory
const LogsDir = `${app.getPath('userData')}/Logs`;
if (!fs.existsSync(LogsDir)) {
fs.mkdirSync(LogsDir);
}
// Log whats happening
const log = require('electron-log');