Package update for 1.0.10
This commit is contained in:
@@ -86,7 +86,7 @@ var menu = Menu.buildFromTemplate([
|
||||
click() {
|
||||
mainWindow.webContents.send(
|
||||
ipcTypes.app.toRenderer.setReleaseNotes,
|
||||
require("../changelog.json")[app.getVersion()]
|
||||
require("./changelog.json")[app.getVersion()]
|
||||
);
|
||||
},
|
||||
},
|
||||
@@ -335,16 +335,7 @@ autoUpdater.on("update-downloaded", (ev, info) => {
|
||||
async function checkForUpdates() {
|
||||
try {
|
||||
log.info("Checking for updates.");
|
||||
//const result = await
|
||||
autoUpdater.checkForUpdates();
|
||||
// const { updateInfo } = result;
|
||||
|
||||
// if (updateInfo.version !== app.getVersion()) {
|
||||
// mainWindow.webContents.send(
|
||||
// ipcTypes.app.toRenderer.updateAvailable,
|
||||
// updateInfo
|
||||
// );
|
||||
// }
|
||||
} catch (error) {
|
||||
log.error("Error while checking for update", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user