Commit 6227e2de authored by Joel Collins's avatar Joel Collins
Browse files

Added menubar back to dev electron app

parent c140d92b
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -6,8 +6,15 @@ const contextMenu = require('electron-context-menu');
let url = 'http://localhost:8080/'

app.on('ready', () => {
  let window = new BrowserWindow({width: 1124, height: 800})
  window.setMenu(null);
  let window = new BrowserWindow({
    width: 1124, 
    height: 800,
    // Remove the window frame from windows applications
    frame: false,
    // Hide the titlebar from MacOS applications while keeping the stop lights
    titleBarStyle: 'hidden', // or 'customButtonsOnHover',
  })
  //window.setMenu(null);

  contextMenu({
    showCopyImageAddress: true,