From 7d0c45546c363c30c2e5b802caa6458ba8674fcf Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Wed, 13 Jun 2018 15:52:51 -0400 Subject: [PATCH] Add extension status button XML --- src/engine/runtime.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/engine/runtime.js b/src/engine/runtime.js index cf6d90a67..2c90b7393 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -546,6 +546,16 @@ class Runtime extends EventEmitter { categoryInfo.menus.push(convertedMenu); } } + + // Add extension status button + if (extensionInfo.showStatusButton) { + categoryInfo.blocks.push({ + info: {}, + json: null, + xml: `` + }); + } + for (const blockInfo of extensionInfo.blocks) { if (blockInfo === '---') { categoryInfo.blocks.push(ConvertedSeparator);