update subpack

update install script
This commit is contained in:
Dr.Lt.Data
2023-11-22 23:49:10 +09:00
parent 167b2cf60a
commit ca0eaa6c52
3 changed files with 8 additions and 6 deletions
+5 -2
View File
@@ -119,8 +119,11 @@ try:
repo.remotes.origin.pull()
except:
traceback.print_exc()
shutil.rmtree(subpack_path)
git.Repo.clone_from(subpack_repo, subpack_path)
if platform.system() == 'Windows':
print(f"[ComfyUI-Impact-Pack] Please turn off ComfyUI and remove '{subpack_path}' and restart ComfyUI.")
else:
shutil.rmtree(subpack_path)
git.Repo.clone_from(subpack_repo, subpack_path)
else:
git.Repo.clone_from(subpack_repo, subpack_path)
+2 -2
View File
@@ -2,9 +2,9 @@ import configparser
import os
version = "V4.31.3"
version = "V4.31.4"
dependency_version = 17
dependency_version = 18
my_path = os.path.dirname(__file__)
old_config_path = os.path.join(my_path, "impact-pack.ini")
+1 -2
View File
@@ -43,8 +43,7 @@ disable_gpu_opencv = True
.\python_embeded\python.exe -m pip install -U opencv-python opencv-python-headless
```
* When using the WAS node suite or reactor nodes, using the latest version may not work as expected.
You can downgrade using the following command:
* When using the WAS node suite or reactor nodes, using the latest version may not work as expected. You can downgrade using the following command:
```
.\python_embeded\python.exe -m pip install -U opencv-python==4.6.0.66 opencv-python-headless==4.6.0.66