Merge branch 'master' into t3chguy/depr8

This commit is contained in:
Michael Telatynski
2020-03-05 11:12:39 +00:00
committed by GitHub
5 changed files with 68 additions and 17 deletions
+4
View File
@@ -35,6 +35,7 @@ const tray = require('./tray');
const vectorMenu = require('./vectormenu');
const webContentsHandler = require('./webcontents-handler');
const updater = require('./updater');
const protocolInit = require('./protocol');
const windowStateKeeper = require('electron-window-state');
const Store = require('electron-store');
@@ -511,6 +512,9 @@ if (!gotLock) {
app.exit();
}
// do this after we know we are the primary instance of the app
protocolInit();
// Register the scheme the app is served from as 'standard'
// which allows things like relative URLs and IndexedDB to
// work.