From 758a51a1af390397f0736f7c123b31e7373b740e Mon Sep 17 00:00:00 2001
From: Alexis Lopez Zubieta <contact@azubieta.net>
Date: Fri, 30 Aug 2019 16:40:55 -0500
Subject: [PATCH] Revert "use electron updater"

This reverts commit 4f51f5a317ddac81e6bf604ed53657712b42b5a5.
---
 app/main.js  | 8 +-------
 package.json | 1 -
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/app/main.js b/app/main.js
index 1cf7ba7..a2ed579 100644
--- a/app/main.js
+++ b/app/main.js
@@ -5,11 +5,6 @@ const {app, BrowserWindow, ipcMain} = require('electron');
 const ElectronStore = require('electron-store');
 const request = require('request');
 
-const {autoUpdater} = require("electron-updater")
-
-autoUpdater.logger = require("electron-log")
-autoUpdater.logger.transports.file.level = "info"
-
 // Set configs dir
 app.setPath("userData", app.getPath("appData") + "/OCS-Store")
 
@@ -97,7 +92,7 @@ function createWindow() {
 
     mainWindow.loadURL(indexFileUrl);
     mainWindow.maximize();
-
+    
     mainWindow.on('close', () => {
         const appConfigStore = new ElectronStore({name: appConfigStoreStorage});
         appConfigStore.set('windowBounds', mainWindow.getBounds());
@@ -166,7 +161,6 @@ function removePreviewpic(itemKey) {
 app.on('ready', async () => {
     if (await startOcsManager()) {
         createWindow();
-        autoUpdater.checkForUpdatesAndNotify()
     } else {
         app.quit();
     }
diff --git a/package.json b/package.json
index 02a2327..2140f8e 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,6 @@
   "dependencies": {
     "electron-store": "2.*.*",
     "electron-updater": "^4.1.2",
-    "electron-log": "^3.0.7",
     "esm": "3.*.*",
     "lit-html": "1.*.*",
     "request": "2.*.*"
-- 
GitLab