Skip to content
Snippets Groups Projects
Commit 38019fdb authored by azubieta's avatar azubieta
Browse files

Merge branch 'fix_missing_thumbnails' into 'development'

fix thumbnails lookup path

See merge request dfn2/pling-store!11
parents f78599cb 149c5da5
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,9 @@ const {app, BrowserWindow, ipcMain} = require('electron'); ...@@ -5,6 +5,9 @@ const {app, BrowserWindow, ipcMain} = require('electron');
const ElectronStore = require('electron-store'); const ElectronStore = require('electron-store');
const request = require('request'); const request = require('request');
// Set configs dir
app.setPath("userData", app.getPath("appData") + "/OCS-Store")
const appPackage = require('../package.json'); const appPackage = require('../package.json');
const appConfig = require('./configs/application.json'); const appConfig = require('./configs/application.json');
const ocsManagerConfig = require('./configs/ocs-manager.json'); const ocsManagerConfig = require('./configs/ocs-manager.json');
...@@ -189,9 +192,6 @@ app.on('web-contents-created', (event, webContents) => { ...@@ -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) => { ipcMain.on('app', (event, key) => {
const data = { const data = {
package: appPackage, package: appPackage,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment