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/'
|
let url = 'http://localhost:8080/'
|
||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
let window = new BrowserWindow({width: 1124, height: 800})
|
let window = new BrowserWindow({
|
||||||
window.setMenu(null);
|
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({
|
contextMenu({
|
||||||
showCopyImageAddress: true,
|
showCopyImageAddress: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue