Add Crisp Chat Tracking for users.

This commit is contained in:
Patrick Fic
2023-10-19 14:42:29 -07:00
parent fd989bf7e4
commit a42c2d68ca
7 changed files with 32 additions and 9 deletions

View File

@@ -133,5 +133,10 @@
"title": "Release Notes for 1.1.6",
"date": "10/13/2023",
"notes": "New Feature:\r\n- Added live support chat."
},
"1.1.7": {
"title": "Release Notes for 1.1.7",
"date": "10/19/2023",
"notes": "Bug Fixes:\r\n- Minor bug fixes and improvements."
}
}

View File

@@ -1,4 +1,4 @@
const { ipcMain, app: electronApp } = require("electron");
const { ipcMain, app: electronApp, app } = require("electron");
const { default: ipcTypes } = require("../src/ipc.types");
const { store } = require("./electron-store");
@@ -63,3 +63,7 @@ ipcMain.on(ipcTypes.app.toMain.log.warn, (event, ...obj) => {
ipcMain.on(ipcTypes.app.toMain.log.error, (event, ...obj) => {
log.error(obj);
});
ipcMain.on(ipcTypes.app.toMain.getAppVersion, (event, obj) => {
event.sender.send(ipcTypes.app.toRenderer.appVersion, app.getVersion());
});

View File

@@ -271,7 +271,7 @@ function createTray() {
mainWindow.show();
mainWindow.maximize();
});
appIcon.setToolTip("ImEX RPS");
appIcon.setToolTip(`ImEX RPS ${app.getVersion()}`);
appIcon.setContextMenu(contextMenu);
return appIcon;
}