shared/ipc/default-browser-contracts
Variables
Section titled “Variables”GetDefaultBrowser
Section titled “GetDefaultBrowser”
constGetDefaultBrowser: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.
MakeDefaultBrowser
Section titled “MakeDefaultBrowser”
constMakeDefaultBrowser: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.