Browse Source

fixx app get version

qdn-metadata
AlphaX-Projects 3 years ago committed by GitHub
parent
commit
c44dfde669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      electron.js

8
electron.js

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

Loading…
Cancel
Save