diff --git a/src-electron/main-process/electron-main-menu-template.js b/src-electron/main-process/electron-main-menu-template.js index e3eb00e..a5a8693 100644 --- a/src-electron/main-process/electron-main-menu-template.js +++ b/src-electron/main-process/electron-main-menu-template.js @@ -68,7 +68,6 @@ export const menuTemplate = [ submenu: [ { role: 'reload' }, { role: 'forcereload' }, - { role: 'toggledevtools' }, { type: 'separator' }, { role: 'resetzoom' }, { role: 'zoomin' }, @@ -97,10 +96,10 @@ export const menuTemplate = [ role: 'help', submenu: [ { - label: 'Learn More', + label: 'About', click: async () => { const { shell } = require('electron') - await shell.openExternal('https://electronjs.org') + await shell.openExternal('https://mpalade.ro') } } ] diff --git a/src-electron/main-process/electron-main.js b/src-electron/main-process/electron-main.js index fdbdd6c..47423af 100644 --- a/src-electron/main-process/electron-main.js +++ b/src-electron/main-process/electron-main.js @@ -31,8 +31,11 @@ app.on('ready', () => { height: 600, minWidth: 800, minHeight: 500, + center: true, + autoHideMenuBar: true, useContentSize: true, webPreferences: { + devTools: false, // Change from /quasar.conf.js > electron > nodeIntegration; // More info: https://quasar.dev/quasar-cli/developing-electron-apps/node-integration nodeIntegration: QUASAR_NODE_INTEGRATION,