IO-3358 Resolve update channel & null claim number.

This commit is contained in:
Patrick Fic
2025-09-08 10:30:53 -07:00
parent d5b40ef6f4
commit 9fdd88526c
5 changed files with 28 additions and 15 deletions

View File

@@ -1,6 +1,8 @@
import { autoUpdater } from "electron-updater";
import { setReleaseChannel } from "../ipc/ipcMainHandler.user";
function checkForAppUpdatesContinuously(): void {
async function checkForAppUpdatesContinuously(): Promise<void> {
await setReleaseChannel();
checkForAppUpdates();
setInterval(
() => {
@@ -16,4 +18,4 @@ function checkForAppUpdates(): void {
});
}
export { checkForAppUpdatesContinuously, checkForAppUpdates };
export { checkForAppUpdates, checkForAppUpdatesContinuously };