diff --git a/README.md b/README.md index 77a9b5c..dde1dbb 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ # Changes +* **V0.7.1** Bug fix for the issue where updates were not being applied on Windows. + * **For those who have been using versions 0.5 through 0.6, please perform a manual git pull in the custom_nodes/ComfyUI-Manager directory.** * **V0.7** To address the issue of a slow list refresh, separate the fetch update and update check processes. * **V0.6** Support extension installation for missing nodes. * **V0.5** Removed external git program dependencies. diff --git a/__init__.py b/__init__.py index d45dc35..a49eb27 100644 --- a/__init__.py +++ b/__init__.py @@ -16,7 +16,7 @@ sys.path.append('../..') from torchvision.datasets.utils import download_url # ensure .js -print("### Loading: ComfyUI-Manager (V0.7)") +print("### Loading: ComfyUI-Manager (V0.7.1)") comfy_path = os.path.dirname(folder_paths.__file__) custom_nodes_path = os.path.join(comfy_path, 'custom_nodes') diff --git a/git_helper.py b/git_helper.py index 8d14be4..02c61c2 100644 --- a/git_helper.py +++ b/git_helper.py @@ -44,7 +44,8 @@ def gitpull(path): # Pull the latest changes from the remote repository repo = git.Repo(path) origin = repo.remote(name='origin') - origin.pull(submodule_update='recursive') + origin.pull() + repo.git.submodule('update', '--init', '--recursive') repo.close()