Skip to content

Commit

Permalink
feat(help): adds link to github discussions in help menu (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
2xAA authored Mar 2, 2022
1 parent 65e9e75 commit c6c24bf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/background/menu-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,17 @@ export function generateMenuTemplate() {
role: "help",
submenu: [
{
label: "Learn More",
click: async () => {
label: "Learn modV",
click() {
const { shell } = require("electron");
await shell.openExternal("https://modv.js.org");
shell.openExternal("https://modv.js.org");
}
},
{
label: "Search or ask a question",
click() {
const { shell } = require("electron");
shell.openExternal("https://github.com/vcync/modV/discussions");
}
}
]
Expand Down

0 comments on commit c6c24bf

Please sign in to comment.