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"); }, },