diff --git a/install.py b/install.py index c997cf3a..e1b54942 100644 --- a/install.py +++ b/install.py @@ -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) diff --git a/modules/impact/config.py b/modules/impact/config.py index 9d67bb63..e5a5e0e2 100644 --- a/modules/impact/config.py +++ b/modules/impact/config.py @@ -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") diff --git a/troubleshooting/TROUBLESHOOTING.md b/troubleshooting/TROUBLESHOOTING.md index 891a3381..9f67315c 100644 --- a/troubleshooting/TROUBLESHOOTING.md +++ b/troubleshooting/TROUBLESHOOTING.md @@ -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