Skip to content

Commit

Permalink
bugfix: copy reinstall-deps-for-3d.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Oct 28, 2024
1 parent c305814 commit 8076147
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,13 @@ cp -r ComfyUI/.ci/update_windows/* ./update/
cp -r ComfyUI/.ci/windows_base_files/* ./

# Replace start script file
rm "$workdir"/ComfyUI_Windows_portable/run_nvidia_gpu.bat
cp "$workdir"/attachments/run_nvidia_gpu.bat \
"$workdir"/ComfyUI_Windows_portable/run_nvidia_gpu.bat
# Check if ComfyUI break-changes
if [ ! -f "$workdir"/ComfyUI_Windows_portable/run_nvidia_gpu.bat ] ; then
return 1
fi ;
# Copy files under 'attachments' folder
cp -rf "$workdir"/attachments/* \
"$workdir"/ComfyUI_Windows_portable/

du -hd1 "$workdir"

Expand Down

0 comments on commit 8076147

Please sign in to comment.