Initial commit

This commit is contained in:
Eugene
2026-07-17 00:31:36 +02:00
commit d38647157e
10 changed files with 508 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { app } from "/scripts/app.js";
app.registerExtension({
name: "CustomUtils.ReloadUIButton",
// 1. Define the actual browser execution task
commands: [
{
id: "reloadComfyUICommand",
label: "🔄 Reload ComfyUI",
function: () => {
// Instantly soft-reboots the user interface without losing local storage cache
window.location.reload();
}
}
],
// 2. Inject the command into ComfyUI's main top utility bar menu layout
menuCommands: [
{
// Places it under 'Menu -> Extensions -> Reload UI' or inside the Topbar depending on your active UI version
path: ["Extensions"],
commands: ["reloadComfyUICommand"]
}
]
});