Skip to content

Commit 6fc95ac

Browse files
committed
Remove the ctrl/cmd+w Window close option entirely
1 parent 67a96b4 commit 6fc95ac

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/menu.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ export const getMenu = (browserWindows: Electron.BrowserWindow[]) => {
3838
{ role: 'toggleDevTools' }
3939
]
4040
},
41-
{
42-
label: '&Window',
43-
role: 'window',
44-
submenu: [
45-
{ role: 'minimize' },
46-
{ role: 'close' }
47-
]
48-
},
4941
{
5042
label: '&Help',
5143
role: 'help',

0 commit comments

Comments
 (0)