fix(desktop): open external links in system browser (#39820)

This commit is contained in:
Luke Parker
2026-07-31 18:02:11 +10:00
committed by GitHub
parent da59457ca4
commit 2039c90c06
38 changed files with 242 additions and 258 deletions
@@ -2,13 +2,10 @@ import type { Platform } from "../../../../../app/src/context/platform"
const value: Platform = {
platform: "web",
openLink() {},
openExternal() {},
restart: async () => {},
back() {},
forward() {},
notify: async () => {},
fetch: globalThis.fetch.bind(globalThis),
parseMarkdown: async (markdown: string) => markdown,
}
export function usePlatform() {