about modal, current version

This commit is contained in:
Jan Prochazka
2020-12-10 13:31:37 +01:00
parent f993e82b0b
commit 5256deb567
10 changed files with 158 additions and 1 deletions

View File

@@ -99,6 +99,12 @@ function buildMenu() {
require('electron').shell.openExternal('https://hub.docker.com/r/dbgate/dbgate');
},
},
{
label: 'About',
click() {
mainWindow.webContents.executeJavaScript(`dbgate_showAbout()`);
},
},
],
},
];