fix(webui): name the gateway sandbox launcher in setup guidance
This commit is contained in:
1 parent
f5e5bd6ea0
commit
44d567e37c
31 files changed
+230
-86
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import type { SandboxCheck } from "./types";
|
||||
|
||||
/** Names come from the gateway's supported backend, never the browser's OS. */
|
||||
export function sandboxLauncherDisplay(backend: SandboxCheck["supported_backend"] | undefined) {
|
||||
if (backend === "bwrap") return { name: "Bubblewrap (bwrap)", executable: "bwrap" };
|
||||
if (backend === "seatbelt") return { name: "macOS Seatbelt (sandbox-exec)", executable: "sandbox-exec" };
|
||||
return null;
|
||||
}
|
||||
Reference in new issue
Block a user