fix(bug): ensuring the five-button manager menu renders in the legacy-ui mode

This commit is contained in:
Le Dissolution 2026-07-14 13:34:08 +02:00
parent bd4ede2237
commit 40616ef700
2 changed files with 7 additions and 1 deletions

View File

@ -1468,6 +1468,12 @@ app.registerExtension({
tooltip: "Share"
}).element
);
if (app.menu?.settingsGroup?.element) {
app.menu.settingsGroup.element.before(cmGroup.element);
} else {
menu.append(cmGroup.element);
}
}
catch(exception) {
console.log('ComfyUI is outdated. New style menu based features are disabled.');

View File

@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "comfyui-manager"
license = { text = "GPL-3.0-only" }
version = "4.2.2"
version = "4.2.2a"
requires-python = ">= 3.9"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
readme = "README.md"