Skip to content

Commit

Permalink
Now throws an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Nov 19, 2024
1 parent 4493b55 commit e662c41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/todesktop/postInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ async function postInstall() {
console.log('After Yarn Install ' , os.platform());
if (fs.existsSync(path.join('./assets','ComfyUI')))
{
console.log('Comfy Already Installed, Skipping.');
return;
throw new Error("You are trying to install ComfyCLI when it has already been installed!");
}

if (os.platform() === "win32")
Expand Down

0 comments on commit e662c41

Please sign in to comment.