MCPcopy Create free account
hub / github.com/deta/surf / getWindowMenu

Method getWindowMenu

app/src/main/appMenu.ts:301–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 }
300
301 private getWindowMenu(): MenuConfig {
302 return {
303 label: 'Window',
304 submenu: [
305 { role: 'minimize' },
306 { role: 'zoom' },
307 ...(isMac()
308 ? ([
309 { type: 'separator' },
310 { role: 'front' },
311 { type: 'separator' },
312 { role: 'window' }
313 ] as MenuConfig[])
314 : [{ role: 'close' }])
315 ]
316 }
317 }
318
319 private getHelpMenu(): MenuConfig {
320 return {

Callers 1

initializeTemplateMethod · 0.95

Calls 1

isMacFunction · 0.90

Tested by

no test coverage detected