From 9ab8e94c784eb61467ed77a9e789f3856f11fc32 Mon Sep 17 00:00:00 2001 From: kadirchan Date: Sat, 23 Nov 2024 15:13:51 +0300 Subject: [PATCH] add docs and other --- src/main/menu.ts | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/src/main/menu.ts b/src/main/menu.ts index 7e54dbe..cbd4e07 100644 --- a/src/main/menu.ts +++ b/src/main/menu.ts @@ -154,30 +154,18 @@ export default class MenuBuilder { const subMenuHelp: MenuItemConstructorOptions = { label: 'Help', submenu: [ - { - label: 'Learn More', - click() { - shell.openExternal('https://electronjs.org'); - }, - }, { label: 'Documentation', click() { shell.openExternal( - 'https://github.com/electron/electron/tree/main/docs#readme', + 'https://docs.drmmina.com', ); }, }, - { - label: 'Community Discussions', - click() { - shell.openExternal('https://www.electronjs.org/community'); - }, - }, { label: 'Search Issues', click() { - shell.openExternal('https://github.com/electron/electron/issues'); + shell.openExternal('https://github.com/DRM-Mina/drm-mina-desktop-client/issues'); }, }, ], @@ -255,30 +243,18 @@ export default class MenuBuilder { { label: 'Help', submenu: [ - { - label: 'Learn More', - click() { - shell.openExternal('https://electronjs.org'); - }, - }, { label: 'Documentation', click() { shell.openExternal( - 'https://github.com/electron/electron/tree/main/docs#readme', + 'https://docs.drmmina.com', ); }, }, - { - label: 'Community Discussions', - click() { - shell.openExternal('https://www.electronjs.org/community'); - }, - }, { label: 'Search Issues', click() { - shell.openExternal('https://github.com/electron/electron/issues'); + shell.openExternal('https://github.com/DRM-Mina/drm-mina-desktop-client/issues'); }, }, ],