diff --git a/main.js b/main.js index 5d2befe..2541ec2 100644 --- a/main.js +++ b/main.js @@ -40,6 +40,7 @@ const menuTemplate = [ { role: 'togglefullscreen' }, { label: 'Toggle Sidebar', + accelerator: 'CommandOrControl+B', id: 'toggleSidebar', click(menuItem, window, event) { mainWindow.webContents.send('toggleSidebar'); @@ -151,9 +152,7 @@ const menuTemplate = [ const windowMac = { width: 1500, height: 900, - titleBarStyle: 'customButtonsOnHover', transparent: false, - frame: false, show: false, vibrancy: 'window', visualEffectState: 'followWindow',