backport riot-desktop implementation into riot-web
This commit is contained in:
parent
09ed0e781a
commit
bb6afd7c30
4 changed files with 66 additions and 3 deletions
|
@ -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');
|
||||
|
@ -427,6 +428,9 @@ if (!gotLock) {
|
|||
app.exit();
|
||||
}
|
||||
|
||||
// do this after we know we are the primary instance of the app
|
||||
protocolInit();
|
||||
|
||||
const launcher = new AutoLaunch({
|
||||
name: vectorConfig.brand || 'Riot',
|
||||
isHidden: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue