From 0529a0342e71740c9cb05a804680873d41620900 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Wed, 27 Nov 2019 00:46:43 -0800 Subject: [PATCH] removing menu bar cuz its ugly --- freechat-client/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freechat-client/main.js b/freechat-client/main.js index 7405778..28b3d75 100644 --- a/freechat-client/main.js +++ b/freechat-client/main.js @@ -11,12 +11,12 @@ function createWin() { } }) win.loadFile('index.html'); - //win.webContents.openDevTools() + if(process.platform !== 'darwin') { + win.removeMenu(); + } win.on('closed', () => { win = null }); - - } app.on('ready', createWin); // on mac just because the windows are closed doesn't mean the application is too