From e46f9642a3348ced0815f73476b53b74af67b429 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 26 Nov 2024 04:25:44 -0800 Subject: [PATCH] Update. --- src/main-process/comfyDesktopApp.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main-process/comfyDesktopApp.ts b/src/main-process/comfyDesktopApp.ts index 1ab85ed1..12f165db 100644 --- a/src/main-process/comfyDesktopApp.ts +++ b/src/main-process/comfyDesktopApp.ts @@ -41,11 +41,13 @@ export class ComfyDesktopApp { initializeTodesktop(): void { log.info('Initializing todesktop'); todesktop.init({ - //@ts-ignore - feedUrl: 'https://updater.comfy.org', customLogger: log, updateReadyAction: { showInstallAndRestartPrompt: 'always', showNotification: 'always' }, - autoUpdater: this.comfySettings.get('Comfy-Desktop.AutoUpdate'), + shouldAutoCheckOnLaunch: this.comfySettings.get('Comfy-Desktop.AutoUpdate'), + // @ts-ignore + autoUpdater: { + feedUrl: 'https://updater.comfy.org', + }, }); if (todesktop.autoUpdater) { log.info('Setting todesktop feed URL.');