Feat(Win): remove windows menu
This commit is contained in:
parent
c1b7efc8c3
commit
f82cc19871
@ -16,6 +16,7 @@ protocol.registerStandardSchemes(['app'], { secure: true })
|
|||||||
function createWindow () {
|
function createWindow () {
|
||||||
// Create the browser window.
|
// Create the browser window.
|
||||||
win = new BrowserWindow({ width: 800, height: 600 })
|
win = new BrowserWindow({ width: 800, height: 600 })
|
||||||
|
win.setMenu(null)
|
||||||
|
|
||||||
if (isDevelopment || process.env.IS_TEST) {
|
if (isDevelopment || process.env.IS_TEST) {
|
||||||
// Load the url of the dev server if in development mode
|
// Load the url of the dev server if in development mode
|
||||||
|
Loading…
Reference in New Issue
Block a user