@ -483,6 +483,7 @@ elif op == 'cli-only-mode':
pass
print(f"\ncli-only-mode: enabled\n")
elif sys.argv[2] == 'disable':
if os.path.exists(cli_mode_flag):
os.remove(cli_mode_flag)
print(f"\ncli-only-mode: disabled\n")
else:
@ -21,7 +21,7 @@ sys.path.append(glob_path)
import cm_global
from manager_util import *
version = [2, 22]
version = [2, 22, 1]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))