From 7f1e7ab47c2fd82fe99482dbf44e337653702349 Mon Sep 17 00:00:00 2001 From: 6174 Date: Fri, 23 Feb 2024 16:21:56 +0800 Subject: [PATCH] add warning for select comfyUI --- .../src/components/bootstrap/setup-config.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/electron-frontend/src/components/bootstrap/setup-config.tsx b/apps/electron-frontend/src/components/bootstrap/setup-config.tsx index 20c29110..0e03d6a9 100644 --- a/apps/electron-frontend/src/components/bootstrap/setup-config.tsx +++ b/apps/electron-frontend/src/components/bootstrap/setup-config.tsx @@ -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);