[MM-22102] upgrade to electron 7 (#1268)

* fix errors

* upgrade to electron 7

* getsavepath is deprecated

* fix typo

* disable messaging from 'null'

* replace getname to its property

* deprecated zoomlevel

* deprecated setbadgecount

* isdarkmode deprecated

* it's a property, not a function

* fix error message

* fix test

* fix test on linux
This commit is contained in:
Guillermo Vayá
2020-05-09 00:29:02 +02:00
committed by GitHub
parent 61095a2fcd
commit c2102bb257
20 changed files with 371 additions and 169 deletions

View File

@@ -12,7 +12,7 @@ function createTemplate(mainWindow, config, isDev) {
type: 'separator',
};
const appName = app.getName();
const appName = app.name;
const firstMenuName = (process.platform === 'darwin') ? appName : 'File';
const template = [];