From c5ae7c9cdb3a31ab02b7c2b4745f062c11849434 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 2 Mar 2026 11:37:04 -0800 Subject: [PATCH] Updated buttons. --- package.json | 2 +- src/main/index.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 732f1c2..4480e32 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "esdp", "productName": "EMS Uploader", - "version": "0.0.1-alpha.2", + "version": "0.0.1-alpha.3", "description": "EMS Uploader", "main": "./out/main/index.js", "author": "ImEX Systems Inc.", diff --git a/src/main/index.ts b/src/main/index.ts index 57898a9..f3a787e 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -236,22 +236,22 @@ function createWindow(): void { submenu: [ { label: "Alpha", - checked: store.get("app.channel") === "alpha", - onClick: (): void => { + checked: autoUpdater.channel === "alpha", + click: (): void => { checkForAppUpdates("alpha"); }, }, { label: "Beta", - checked: store.get("app.channel") === "beta", - onClick: (): void => { + checked: autoUpdater.channel === "beta", + click: (): void => { checkForAppUpdates("beta"); }, }, { label: "Latest", - checked: store.get("app.channel") === "latest", - onClick: (): void => { + checked: autoUpdater.channel === "latest", + click: (): void => { checkForAppUpdates("latest"); }, },