fix: mismatching between nightly build and version - jan about (#2114)
* fix: mismatching between nightly build and version - jan about * fix: remove nightly indicator
This commit is contained in:
parent
94bee0b1b6
commit
51bd375cc8
@ -8,7 +8,14 @@ const template: (Electron.MenuItemConstructorOptions | Electron.MenuItem)[] = [
|
|||||||
{
|
{
|
||||||
label: app.name,
|
label: app.name,
|
||||||
submenu: [
|
submenu: [
|
||||||
{ role: 'about' },
|
{
|
||||||
|
label: `About ${app.name}`,
|
||||||
|
click: () =>
|
||||||
|
dialog.showMessageBox({
|
||||||
|
title: `Jan`,
|
||||||
|
message: `Jan Version v${app.getVersion()}\n\nCopyright © 2024 Jan`,
|
||||||
|
}),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Check for Updates...',
|
label: 'Check for Updates...',
|
||||||
click: () =>
|
click: () =>
|
||||||
@ -31,38 +38,9 @@ const template: (Electron.MenuItemConstructorOptions | Electron.MenuItem)[] = [
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{ role: 'services' },
|
|
||||||
{ type: 'separator' },
|
|
||||||
{ role: 'hide' },
|
|
||||||
{ role: 'hideOthers' },
|
|
||||||
{ role: 'unhide' },
|
|
||||||
{ type: 'separator' },
|
|
||||||
{ role: 'quit' },
|
{ role: 'quit' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: 'Edit',
|
|
||||||
submenu: [
|
|
||||||
{ role: 'undo' },
|
|
||||||
{ role: 'redo' },
|
|
||||||
{ type: 'separator' },
|
|
||||||
{ role: 'cut' },
|
|
||||||
{ role: 'copy' },
|
|
||||||
{ role: 'paste' },
|
|
||||||
...(isMac
|
|
||||||
? [
|
|
||||||
{ role: 'pasteAndMatchStyle' },
|
|
||||||
{ role: 'delete' },
|
|
||||||
{ role: 'selectAll' },
|
|
||||||
{ type: 'separator' },
|
|
||||||
{
|
|
||||||
label: 'Speech',
|
|
||||||
submenu: [{ role: 'startSpeaking' }, { role: 'stopSpeaking' }],
|
|
||||||
},
|
|
||||||
]
|
|
||||||
: [{ role: 'delete' }, { type: 'separator' }, { role: 'selectAll' }]),
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: 'View',
|
label: 'View',
|
||||||
submenu: [
|
submenu: [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user