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:
parent
bc7d64e28f
commit
c44dfde669
@ -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!',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user