Update the browser, editor, settings, and installer
This commit is contained in:
@@ -10,7 +10,7 @@ export function pluginAccess(owner: string, commands: Iterable<PluginCommand>, v
|
||||
const result: PluginTool[] = [];
|
||||
for (const command of commands) {
|
||||
const legacyOpen = owner === "runestone.browser" && command.id === "new-tab";
|
||||
result.push({ owner, id: command.id, title: command.title, kind: "command", surface: command.category === "open" || (command.category === undefined && legacyOpen) ? "open" : "commands" });
|
||||
result.push({ owner, id: command.id, title: command.title, kind: "command", surface: command.category === "open" || (command.category === undefined && legacyOpen) ? "open" : "commands", icon: command.icon });
|
||||
}
|
||||
for (const view of views) {
|
||||
const settings = view.settings ?? (owner === "runestone.local-autocomplete" && view.id === "settings");
|
||||
|
||||
Reference in New Issue
Block a user