Skip to content

Commit

Permalink
add warning for select comfyUI
Browse files Browse the repository at this point in the history
  • Loading branch information
6174 committed Feb 23, 2024
1 parent 6a7e755 commit 7f1e7ab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export function SetupConfig() {
const ret = await comfyElectronApi.selectDirectory();
const folder = ret[0];
setValue(folder);
if (folder.trim().includes("Program Files")) {
message.warning("It's not recommended to install ComfyUI in Program Files folder, after Program uninstalled, the ComfyUI folder will be deleted.");
}
} catch(err) {
console.log(err);
message.error(err);
Expand Down

0 comments on commit 7f1e7ab

Please sign in to comment.