Update the browser, editor, settings, and installer

This commit is contained in:
Knotty Wyvern
2026-10-12 14:46:21 -07:00
parent 909894b9c8
commit f6eaa52949
163 changed files with 146260 additions and 534 deletions
+2 -1
View File
@@ -24,7 +24,8 @@
function convert(entries: MenuItem[]): ActionMenuItem[] {
return entries.map(item => {
if (item.kind === "sep") return { separator: true };
if (item.kind === "group") return { label: item.label, icon: item.icon, children: convert(item.items) };
if (item.kind === "group") return { label: item.label, icon: item.icon, children: convert(item.items),
...(item.run ? { run: () => { close(true); item.run?.(); } } : {}) };
return { label: item.label, icon: item.icon, disabled: item.disabled, run: () => {
close(true);
item.run();