Browse Source

update required ComfyUI version guide

pull/52/head
Dr.Lt.Data 1 year ago
parent
commit
cd6677d82c
  1. 3
      README.md
  2. 9
      __init__.py

3
README.md

@ -32,7 +32,8 @@ You can execute ComfyUI by running either `./run_gpu.sh` or `./run_cpu.sh` depen
# Changes
* **0.17.1** Bug fix for the issue where enable/disable of the web extension was not working.
* **0.17.1** Bug fix for the issue where enable/disable of the web extension was not working. Compatibility patch for StableSwarmUI.
* Requires latest version of ComfyUI (Revision: 1240)
* **0.17** Support preview method setting feature.
* **0.14** Support robust update.
* **0.13** Support additional 'pip' section for install spec.

9
__init__.py

@ -33,8 +33,9 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url
# ensure .js
print("### Loading: ComfyUI-Manager (V0.17.2)")
print("### Loading: ComfyUI-Manager (V0.17.3)")
comfy_ui_required_revision = 1240
comfy_ui_revision = "Unknown"
comfy_path = os.path.dirname(folder_paths.__file__)
@ -124,7 +125,7 @@ def try_install_script(url, repo_path, install_cmd):
elif comfy_ui_revision.isdigit():
int_comfyui_revision = int(comfy_ui_revision)
if platform.system() == "Windows" and int_comfyui_revision >= 1152:
if platform.system() == "Windows" and int_comfyui_revision >= comfy_ui_required_revision:
if not os.path.exists(startup_script_path):
os.makedirs(startup_script_path)
@ -139,7 +140,7 @@ def try_install_script(url, repo_path, install_cmd):
if platform.system() == "Windows":
try:
if int(comfy_ui_revision) < 1152:
if int(comfy_ui_revision) < comfy_ui_required_revision:
print("\n\n###################################################################")
print(f"[WARN] ComfyUI-Manager: Your ComfyUI version ({comfy_ui_revision}) is too old. Please update to the latest version.")
print(f"[WARN] The extension installation feature may not work properly in the current installed ComfyUI version on Windows environment.")
@ -161,7 +162,7 @@ def print_comfyui_version():
git_hash = repo.head.commit.hexsha
try:
if int(comfy_ui_revision) < 1148:
if int(comfy_ui_revision) < comfy_ui_required_revision:
print(f"\n\n## [WARN] ComfyUI-Manager: Your ComfyUI version ({comfy_ui_revision}) is too old. Please update to the latest version. ##\n\n")
except:
pass

Loading…
Cancel
Save