handoff and version viewing in about.ejs

This commit is contained in:
child_duckling 2022-02-10 22:11:00 -08:00
parent 6900ed0f11
commit f20e59d52e
4 changed files with 23 additions and 0 deletions

View file

@ -601,6 +601,10 @@ export class BrowserWindow {
shareMenu.popup();
})
ipcMain.on('get-version', (_event) => {
app.getVersion()
BrowserWindow.win.webContents.send('version', app.getVersion());
});
/* *********************************************************************************************
* Window Events