Update electron to 7.1.1

This commit is contained in:
Thomas Nordquist
2019-11-13 17:26:27 +01:00
parent 1fae61b1fa
commit 4db6e7b1d7
6 changed files with 304 additions and 129 deletions

View File

@@ -23,7 +23,7 @@ const applicationMenu: MenuItemConstructorOptions = {
{
label: 'Dev Tools',
accelerator: 'CmdOrCtrl+Alt+I',
role: 'toggledevtools' as 'toggledevtools',
role: 'toggleDevTools',
},
{
label: 'Quit',
@@ -69,7 +69,7 @@ const editMenu: MenuItemConstructorOptions = {
{
label: 'Select All',
accelerator: 'CmdOrCtrl+A',
role: 'selectall',
role: 'selectAll',
},
],
}

View File

@@ -25,7 +25,7 @@ log.info('App starting...')
const connectionManager = new ConnectionManager()
connectionManager.manageConnections()
const configStorage = new ConfigStorage(path.join(app.getPath('appData'), app.getName(), 'settings.json'))
const configStorage = new ConfigStorage(path.join(app.getPath('appData'), app.name, 'settings.json'))
configStorage.init()
// Keep a global reference of the window object, if you don't, the window will