DreamWeave: the bar menu is plugin API v95
The engine's barMenu manifest key landed as plugin API v95 (was v94 on up/bar-menu; renumbered after the web panel's v94). BarMenuEngineApi and the comments follow; the test still pins the const to the engine's own PluginContractVersion.BarMenu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
17601b9768
commit
aa4551e8b1
4 changed files with 4 additions and 4 deletions
|
|
@ -188,7 +188,7 @@ internal sealed class ServerPackModel
|
|||
sb.Append(",\"icon\":").Append(Q(WindowIcon));
|
||||
sb.Append(",\"width\":").Append(tabs ? ServerPackPages.Width : 460).Append(",\"height\":").Append(ServerPackPages.Height);
|
||||
sb.Append(",\"minWidth\":320,\"minHeight\":200,\"bar\":true,\"server\":").Append(Q(info.Id));
|
||||
// The bar icon's hover dropdown (RynthCore API 94); an older engine ignores the key.
|
||||
// The bar icon's hover dropdown (RynthCore API 95); an older engine ignores the key.
|
||||
if (barMenu != null && barMenu.Count > 0)
|
||||
{
|
||||
sb.Append(",\"barMenu\":[");
|
||||
|
|
|
|||
Loading…
Reference in a new issue