From fb6017abda5f12c835eeb975b7431137a12823aa Mon Sep 17 00:00:00 2001 From: Robson Oliveira dos Santos Date: Mon, 25 Nov 2024 13:56:06 +0930 Subject: [PATCH] fix(spie): add app name to notifications --- apps/spie/src/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/spie/src/main.ts b/apps/spie/src/main.ts index 208ad9a..f676a5d 100644 --- a/apps/spie/src/main.ts +++ b/apps/spie/src/main.ts @@ -1,13 +1,16 @@ import { BrowserWindow, app } from 'electron'; import App from './app/app'; +import { electronAppName } from './app/constants'; import ElectronEvents from './app/events/electron.events'; import SerialPortEvents from './app/events/serial-port.events'; import UpdateEvents from './app/events/update.events'; export default class Main { static initialize(): void { - // + if (process.platform === 'win32') { + app.setAppUserModelId(electronAppName); + } } static bootstrapApp(): void {