Remove Menu

This commit is contained in:
Keith Paterson
2020-12-26 20:50:55 +01:00
parent 956e347517
commit 5c01f2a656

View File

@@ -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
*/