diff --git a/src/main/plugins/menubar.ts b/src/main/plugins/menubar.ts index eb40f61e..f044edc1 100644 --- a/src/main/plugins/menubar.ts +++ b/src/main/plugins/menubar.ts @@ -14,7 +14,7 @@ export default class Thumbar { public name: string = 'Menubar Plugin'; public description: string = 'Creates the menubar'; public version: string = '1.0.0'; - public author: string = 'Core / Quack'; + public author: string = 'Core / Quacksire'; /** * Thumbnail Toolbar Assets @@ -38,7 +38,16 @@ export default class Thumbar { { label: app.getName(), submenu: [ - { role: 'about' }, + { + label: 'About', + click: () => this._win.webContents.executeJavaScript(`app.appRoute('about')`) + }, + { type: 'separator' }, + { + label: 'Settings', + accelerator: 'CommandOrControl+,', + click: () => this._win.webContents.executeJavaScript(`app.appRoute('settings')`) + }, { type: 'separator' }, { role: 'services' }, { type: 'separator' }, @@ -71,11 +80,20 @@ export default class Thumbar { ...(this.isMac ? [ {type: 'separator'}, {role: 'front'}, - {type: 'separator'}, - {role: 'window'} ] : [ {role: 'close'} ]), + { + label: 'Edit', + submenu: [ + { role: 'undo' }, + { role: 'redo' }, + { type: 'separator' }, + { role: 'cut' }, + { role: 'copy' }, + { role: 'paste' }, + ] + }, {type: 'separator'}, { label: 'Web Remote', @@ -88,11 +106,7 @@ export default class Thumbar { accelerator: 'CommandOrControl+Shift+A', click: () => this._win.webContents.executeJavaScript(`app.modals.audioSettings = true`) }, - { - label: 'Settings', - accelerator: 'CommandOrControl+,', - click: () => this._win.webContents.executeJavaScript(`app.appRoute('settings')`) - } + ] }, { @@ -151,10 +165,6 @@ export default class Thumbar { label: 'GitHub Wiki', click: () => shell.openExternal("https://github.com/ciderapp/Cider/wiki/Troubleshooting").catch(console.error) }, - { - label: 'About', - click: () => this._win.webContents.executeJavaScript(`app.appRoute('about')`) - }, {type: 'separator'}, { label: 'Report a...',