Scripts: Run Script's params text in UI_COMMANDS matches the MCP catalog

The MCP catalog's ui.runInstalledScript entry was updated without its source in
crates/ui-egui/src/menus/ui_commands.rs, so `cargo xtask ui-commands --check` failed.
The source now carries the same text.
This commit is contained in:
dotCooCoo
2026-11-14 18:44:12 -08:00
parent 828817c4b2
commit dd77051ef5
+1 -1
View File
@@ -1726,7 +1726,7 @@ pub const UI_COMMANDS: &[(&str, &str, &str, &str)] = &[
crate::scripts_menu::COMMAND,
"Run Script",
"",
"{path: a script's path as script.listInstalled gives it} run a script of the Scripts folder, as its File › Scripts item does (the script is checked again, then script.run runs it by its path, so its #include lines and $.evalFile read beside it), without the warning Other Script… shows; a file that is no longer a .js or .jsx file in the folder or a subfolder at most 4 levels below it, or that is or lies behind a link or is hidden, is not run, and the menu's listing is read again",
"{path: a script's path as script.listInstalled gives it} run a script of the Scripts folder, as its File › Scripts item does (script.run with installed reads the file once, checks it again and runs that text, so its #include lines and $.evalFile read in the folder that read found), without the warning Other Script… shows; a file that is no longer a .js or .jsx file in the folder or a subfolder at most 4 levels below it, or that is or lies behind a link or is hidden, is not run, and the menu's listing is read again",
),
(
"ui.checkScript",