fix(pinokio): open the app in the system browser (#1222)

Open the Pinokio app in the system browser while retaining application framing protection.

Contribution by @NukeThemAII.
This commit is contained in:
NukeThemAII authored and GitHub committed 2026-10-25 18:53:32 -07:00
1 parent a15fdd3134
commit 3a724f055a
5 files changed
+18 -4

No files matched your search

+3
View File
@@ -113,6 +113,9 @@ test('Pinokio menu resolves the nested install marker and exposes each lifecycle
runtime.url = url;
const items = await menu(kernel, info);
assert.equal(items.filter((item) => item.default).length, 1);
const ready = installed && running === 'start.js' && Boolean(url);
assert.equal(items[0].popout, ready ? true : undefined);
assert.ok(items.slice(1).every((item) => item.popout === undefined));
return items.map(({ text, href, default: isDefault = false }) => ({ text, href, default: isDefault }));
};