use core badge feature if possible

https://github.com/ltdrdata/ComfyUI-Manager/pull/1051
This commit is contained in:
Dr.Lt.Data
2024-09-19 02:43:07 +09:00
parent 0e4b47c13d
commit 3701246fb1
3 changed files with 72 additions and 31 deletions

View File

@@ -23,7 +23,7 @@ sys.path.append(glob_path)
import cm_global
from manager_util import *
version = [2, 50, 3]
version = [2, 51]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')