mirror of
https://github.com/edumeet/edumeet.git
synced 2026-07-28 13:33:53 +00:00
Remove application menu, we don't use it.
This commit is contained in:
parent
39376f133b
commit
1dc19611fb
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ const electron = require('electron');
|
|||
const app = electron.app;
|
||||
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
const Menu = electron.Menu;
|
||||
|
||||
const path = require('path');
|
||||
const url = require('url');
|
||||
|
|
@ -17,6 +18,8 @@ function createWindow()
|
|||
webPreferences : { nodeIntegration: true }
|
||||
});
|
||||
|
||||
Menu.setApplicationMenu(null);
|
||||
|
||||
const startUrl = process.env.ELECTRON_START_URL || url.format({
|
||||
pathname : path.join(__dirname, '/../build/index.html'),
|
||||
protocol : 'file:',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue