Added menubar back to dev electron app
This commit is contained in:
parent
c140d92b5f
commit
6227e2de58
1 changed files with 9 additions and 2 deletions
11
app.dev.js
11
app.dev.js
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue