Package update for 1.0.10

This commit is contained in:
Patrick Fic
2020-11-17 15:54:28 -08:00
parent 777b9f41d5
commit b057f50579
4 changed files with 9 additions and 13 deletions

View File

@@ -1,7 +1,12 @@
{
"1.0.9": {
"title": "Release Notes for 1.0.9",
"date": "11/16/2020",
"date": "11/17/2020",
"notes": "New Features: \n- Vehicles with mileage under 20,000kms will now be included in Watcher filtering criteria.\n- Savings on OEM parts will always default to the user enter price and override the estimating system price.\n- Wheel related lines will no longer be automatically ignored.\n- Glass related lines will no longer be automatically ignored.\n- Added 'Variance %' statistic to reporting totals.\n- Automatically ignore any lines which have invalid prices from estimating system.\n- Force line inclusion/exclusion - Using “ /rps-exclude” or “/rps” in the Part Number field to force inclusion or exclusion of lines for RPS calculation.\n- Added automatic update checks every 30 minutes.\n\nBug Fixes: \n- Resolved an issue where the updater would not show update progress to some users.\n- Fixed a UI bug during job search that would cause the 'no close date' alert to be incorrectly shown."
},
"1.0.10": {
"title": "Release Notes for 1.0.10",
"date": "TBD",
"notes": ""
}
}

View File

@@ -37,7 +37,7 @@ ipcMain.on(ipcTypes.store.getAll, (event, obj) => {
ipcMain.on(ipcTypes.app.toMain.getReleaseNotes, (event, obj) => {
const showNotes = store.get("showChangeLog");
if (showNotes) {
const rn = require("../changelog.json")[electronApp.getVersion()];
const rn = require("./changelog.json")[electronApp.getVersion()];
event.sender.send(ipcTypes.app.toRenderer.setReleaseNotes, rn);
} else {
event.sender.send(ipcTypes.app.toRenderer.setReleaseNotes, null);

View File

@@ -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);
}

View File

@@ -3,7 +3,7 @@
"productName": "ImEX RPS",
"author": "ImEX Systems Inc. <support@thinkimex.com>",
"description": "ImEX RPS",
"version": "1.0.9",
"version": "1.0.10",
"main": "electron/main.js",
"homepage": "./",
"dependencies": {