From 5c01f2a656feae367300cda45c045cb89b358422 Mon Sep 17 00:00:00 2001 From: Keith Paterson Date: Sat, 26 Dec 2020 20:50:55 +0100 Subject: [PATCH] Remove Menu --- src/main/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 6412511..25cb8e6 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -1,6 +1,6 @@ 'use strict' -import { app, BrowserWindow } from 'electron' +import { app, BrowserWindow, Menu } from 'electron' const { ipcMain } = require('electron') ipcMain.on('OpenDebugger', (event, arg) => { @@ -20,6 +20,7 @@ const winURL = process.env.NODE_ENV === 'development' : `file://${__dirname}/index.html` function createWindow () { + Menu.setApplicationMenu(null) /** * Initial window options */