4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

fixx app get version

This commit is contained in:
AlphaX-Projects 2021-12-25 15:31:39 +01:00 committed by GitHub
parent bc7d64e28f
commit c44dfde669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,11 +119,9 @@ if (!isLock) {
} }
}) })
ipcMain.on('app_version', (event) => { ipcMain.on('app_version', (event) => {
log.info(app.getVersion()); log.info(app.getVersion());
myWindow.webContents.send("app_version", { mainWindow.webContents.send('app_version', { version: app.getVersion() });
version: app.getVersion(); });
});
})
autoUpdater.on('update-available', () => { autoUpdater.on('update-available', () => {
const n = new Notification({ const n = new Notification({
title: 'Update Available!', title: 'Update Available!',