Merge branch 'main' into draft-v4

This commit is contained in:
Dr.Lt.Data
2025-07-24 12:41:48 +09:00
17 changed files with 5822 additions and 4567 deletions

View File

@@ -222,9 +222,6 @@ function isBeforeFrontendVersion(compareVersion) {
}
}
const is_legacy_front = () => isBeforeFrontendVersion('1.2.49');
const isNotNewManagerUI = () => isBeforeFrontendVersion('1.16.4');
document.head.appendChild(docStyle);
var update_comfyui_button = null;
@@ -1518,10 +1515,7 @@ app.registerExtension({
}).element
);
const shouldShowLegacyMenuItems = isNotNewManagerUI();
if (shouldShowLegacyMenuItems) {
app.menu?.settingsGroup.element.before(cmGroup.element);
}
app.menu?.settingsGroup.element.before(cmGroup.element);
}
catch(exception) {
console.log('ComfyUI is outdated. New style menu based features are disabled.');