fix: compatibility with electron-store 7

This commit is contained in:
Fabio Di Stasio 2021-01-25 09:28:57 +01:00
parent 379d6c169a
commit bacf458936
1 changed files with 4 additions and 0 deletions

View File

@ -5,8 +5,12 @@ import * as path from 'path';
import crypto from 'crypto';
import { format as formatUrl } from 'url';
import keytar from 'keytar';
import Store from 'electron-store';
import ipcHandlers from './ipc-handlers';
Store.initRenderer();
const isDevelopment = process.env.NODE_ENV !== 'production';
const gotTheLock = app.requestSingleInstanceLock();