Skip to content

shared/ipc/default-browser-contracts

const GetDefaultBrowser: RequestContract<{ }, { allowed: boolean; isDefault: boolean; supported: boolean; }>

Defined in: app/src/shared/ipc/default-browser-contracts.ts:9

Tells whether the browser is the default browser, whether a policy lets the user make it the default, and whether this installation can become the default at all. The settings page and the setup guide both show it.


const MakeDefaultBrowser: RequestContract<{ }, { outcome: "failed" | "done" | "settings"; }>

Defined in: app/src/shared/ipc/default-browser-contracts.ts:24

Makes the browser the default browser: done, or settings when the system settings opened for the user to choose it, as on Windows.