Added link to homepage in Help menu
This commit is contained in:
parent
901fc50fe5
commit
a8161413f3
1 changed files with 8 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
const { app, Menu } = require('electron')
|
const { app, shell, Menu } = require('electron')
|
||||||
const updater = require("electron-updater");
|
const updater = require("electron-updater");
|
||||||
const autoUpdater = updater.autoUpdater;
|
const autoUpdater = updater.autoUpdater;
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
@ -62,6 +62,13 @@ const template = [
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Homepage',
|
||||||
|
click () {
|
||||||
|
shell.openExternal('https://openflexure.org')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ type: 'separator' },
|
||||||
{
|
{
|
||||||
label: 'Check for Updates',
|
label: 'Check for Updates',
|
||||||
click () {
|
click () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue