From 2db6fad969baf1934b283bc81c6d74ddcec0e65a Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Thu, 5 Dec 2024 09:10:05 -0800 Subject: [PATCH] Allow user skip device detection (#433) --- src/main-process/comfyDesktopApp.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main-process/comfyDesktopApp.ts b/src/main-process/comfyDesktopApp.ts index 8c94d9f7..dda44ac9 100644 --- a/src/main-process/comfyDesktopApp.ts +++ b/src/main-process/comfyDesktopApp.ts @@ -139,10 +139,11 @@ export class ComfyDesktopApp { const validation = await validateHardware(); if (!validation.isValid) { await appWindow.loadRenderer('not-supported'); - throw new Error(validation.error); + log.error(validation.error); + } else { + await appWindow.loadRenderer('welcome'); } - await appWindow.loadRenderer('welcome'); return new Promise((resolve) => { ipcMain.on(IPC_CHANNELS.INSTALL_COMFYUI, async (event, installOptions: InstallOptions) => { const installWizard = new InstallWizard(installOptions);