Show the engine setup until the browser engine is installed

A browser tab shows the download size, Download the engine, Install from
file, and Open in default browser until the engine can start. It shows
progress, Cancel, the cause of a failure, and Retry, and then opens the
page. Settings -> Browser shows the engine state and Remove engine. Web
links open in the system browser until the engine is installed. Open
link in app browser always opens a browser tab.
This commit is contained in:
Knotty Wyvern
2026-10-29 01:18:21 -07:00
parent 6004e126f7
commit c06d48f250
19 changed files with 425 additions and 107 deletions
+3 -1
View File
@@ -16,9 +16,11 @@ export interface TerminalMount {
export interface Contributions {
git: { blame(path: string, line: number): Promise<GitLineInfo | null> };
browser: {
newTab?(): Promise<void>;
/** Opens a browser tab, with `url` when it is given. */
newTab?(url?: string): Promise<void>;
mountSettings(container: HTMLElement): Dispose | Promise<Dispose>;
mountBookmarks(container: HTMLElement): Dispose | Promise<Dispose>;
/** Opens a web link from a document. False means that the system browser opens it. */
open(url: string): Promise<boolean>;
};
terminal: {