Skip to content

Commit

Permalink
add docs and other
Browse files Browse the repository at this point in the history
  • Loading branch information
kadirchan committed Nov 23, 2024
1 parent ba9fd7b commit 9ab8e94
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions src/main/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
},
},
],
Expand Down Expand Up @@ -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');
},
},
],
Expand Down

0 comments on commit 9ab8e94

Please sign in to comment.