mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-17 02:12:58 +08:00
update required ComfyUI version guide
This commit is contained in:
parent
8698849b06
commit
cd6677d82c
@ -32,7 +32,8 @@ You can execute ComfyUI by running either `./run_gpu.sh` or `./run_cpu.sh` depen
|
|||||||
|
|
||||||
|
|
||||||
# Changes
|
# 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.17** Support preview method setting feature.
|
||||||
* **0.14** Support robust update.
|
* **0.14** Support robust update.
|
||||||
* **0.13** Support additional 'pip' section for install spec.
|
* **0.13** Support additional 'pip' section for install spec.
|
||||||
|
|||||||
@ -33,8 +33,9 @@ sys.path.append('../..')
|
|||||||
from torchvision.datasets.utils import download_url
|
from torchvision.datasets.utils import download_url
|
||||||
|
|
||||||
# ensure .js
|
# 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_ui_revision = "Unknown"
|
||||||
|
|
||||||
comfy_path = os.path.dirname(folder_paths.__file__)
|
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():
|
elif comfy_ui_revision.isdigit():
|
||||||
int_comfyui_revision = int(comfy_ui_revision)
|
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):
|
if not os.path.exists(startup_script_path):
|
||||||
os.makedirs(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":
|
if platform.system() == "Windows":
|
||||||
try:
|
try:
|
||||||
if int(comfy_ui_revision) < 1152:
|
if int(comfy_ui_revision) < comfy_ui_required_revision:
|
||||||
print("\n\n###################################################################")
|
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] 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.")
|
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
|
git_hash = repo.head.commit.hexsha
|
||||||
|
|
||||||
try:
|
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")
|
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:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user