Skip to content

Commit

Permalink
Prevent installer from running when installed (#569)
Browse files Browse the repository at this point in the history
Set installed state after first installation
  • Loading branch information
webfiltered authored Dec 26, 2024
1 parent c8793ce commit 2c02eff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/install/installationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ export class InstallationManager {
useDesktopConfig().set('migrateCustomNodesFrom', installWizard.migrationSource);
}

return new ComfyInstallation('installed', installWizard.basePath);
const installation = new ComfyInstallation('installed', installWizard.basePath);
installation.setState('installed');
return installation;
}

/**
Expand Down

0 comments on commit 2c02eff

Please sign in to comment.