Skip to content

Commit

Permalink
Allow user skip device detection (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Dec 5, 2024
1 parent 50f397a commit 2db6fad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main-process/comfyDesktopApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>((resolve) => {
ipcMain.on(IPC_CHANNELS.INSTALL_COMFYUI, async (event, installOptions: InstallOptions) => {
const installWizard = new InstallWizard(installOptions);
Expand Down

0 comments on commit 2db6fad

Please sign in to comment.