From 149c5da5b26937a80831c0513691d7458f512523 Mon Sep 17 00:00:00 2001
From: Alexis Lopez Zubieta <contact@azubieta.net>
Date: Wed, 28 Aug 2019 15:45:24 -0500
Subject: [PATCH] fix thumbnails lookup path

---
 app/main.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/main.js b/app/main.js
index 3ee5874..edda4e9 100644
--- a/app/main.js
+++ b/app/main.js
@@ -5,6 +5,9 @@ const {app, BrowserWindow, ipcMain} = require('electron');
 const ElectronStore = require('electron-store');
 const request = require('request');
 
+// Set configs dir
+app.setPath("userData", app.getPath("appData") + "/OCS-Store")
+
 const appPackage = require('../package.json');
 const appConfig = require('./configs/application.json');
 const ocsManagerConfig = require('./configs/ocs-manager.json');
@@ -189,9 +192,6 @@ app.on('web-contents-created', (event, webContents) => {
     }
 });
 
-// Set configs dir
-app.setPath("userData", app.getPath("appData") + "/OCS-Store")
-
 ipcMain.on('app', (event, key) => {
     const data = {
         package: appPackage,
-- 
GitLab