diff --git a/src/main/menu.js b/src/main/menu.js index 3a30550581..3354d8601a 100644 --- a/src/main/menu.js +++ b/src/main/menu.js @@ -12,12 +12,13 @@ export default function ({ createLoadingWindow }) { const about = { label: 'About', click: () => aboutWindow({ + adjust_window_size: true, icon_path: isProduction ? path.resolve(__dirname, './static/128x128.png') : path.resolve(__dirname, '../../build/icons/128x128.png'), copyright: [ `
Distributed under ${packageJson.license} license
`, - 'Flag icons made by Freepik from flaticon.com are licensed by CC 3.0 BY
' + 'Flag icons made by Freepik from flaticon.com are licensed by CC 3.0 BY
' ], package_json_dir: path.resolve(__dirname, '../../'), css_path: isProduction ? path.resolve(__dirname, 'styles.css') : null, @@ -30,12 +31,12 @@ export default function ({ createLoadingWindow }) { submenu: [ { label: 'Settings', + accelerator: 'CmdOrCtrl+,', click: (_, focusedWindow) => { if (focusedWindow && focusedWindow.webContents) { focusedWindow.webContents.send('app:preferences') } - }, - accelerator: 'CommandOrControl+,' + } } ] }