You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This directory stores the student-side deployment scripts that are copied to the NAS root:
4
+
5
+
-`Start_Client.bat`: launcher used by student desktop shortcuts. It checks the NAS, self-updates from the NAS root, verifies `ComfyUI-Custom-Batchbox` against the NAS copy, mirrors the plugin when needed, then starts ComfyUI.
6
+
-`Deploy_Install.bat`: first-time or repair install script. It copies the portable ComfyUI bundle from NAS to `C:\ComfyUI_Portable`, installs the local launcher, and creates the desktop shortcut.
7
+
-`Uninstall.bat`: local cleanup script for removing `C:\ComfyUI_Portable` and the desktop shortcut before a reinstall.
8
+
9
+
## NAS Placement
10
+
11
+
Copy these files to:
12
+
13
+
```text
14
+
Z:\ComfyUI_Master\Start_Client.bat
15
+
Z:\ComfyUI_Master\Deploy_Install.bat
16
+
Z:\ComfyUI_Master\Uninstall.bat
17
+
```
18
+
19
+
Student machines may map the same NAS as another drive letter, such as `P:`. Both scripts auto-detect mapped drives by checking for:
20
+
21
+
```text
22
+
ComfyUI_Master\ComfyUI_windows_portable
23
+
```
24
+
25
+
## BatchBox Sync Policy
26
+
27
+
`Start_Client.bat` does not try to kill running Python or ComfyUI processes. It compares the local BatchBox plugin against the NAS copy first:
28
+
29
+
- If every file matches by relative path, size, and modified time, it starts ComfyUI immediately.
30
+
- If anything differs, it runs `robocopy /MIR` for `ComfyUI-Custom-Batchbox`, which also removes local extra files.
31
+
- If `.pyd` files are locked and cannot be mirrored, startup stops and the user should reboot, then run the launcher again.
0 commit comments