Skip to content

Commit 2792481

Browse files
authored
Merge pull request #1039 from jakejarrett/hotfix-electron-menu
Hotfix for electron menu to enable defaults
2 parents 2ddb9d7 + 0739ce7 commit 2792481

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

main.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,13 @@ function initializeMediaShortcuts() {
198198

199199
function menuBar() {
200200
const template = [
201+
{
202+
role: 'editMenu',
203+
label: 'Soundnode'
204+
},
201205
{
202206
role: 'view',
207+
label: 'View',
203208
submenu: [
204209
{
205210
role: 'togglefullscreen'
@@ -225,8 +230,11 @@ function menuBar() {
225230
]
226231
},
227232
{
228-
role: 'window',
233+
role: 'windowMenu',
229234
submenu: [
235+
{
236+
role: 'quit'
237+
},
230238
{
231239
label: 'Reload',
232240
accelerator: 'CmdOrCtrl+R',

0 commit comments

Comments
 (0)