ElectronShell.openExternal method
ElectronShell › openExternal
Unofficial
Opens the given external protocol URL in the desktop's default manner (for example,mailto: URLs in the user's default mail agent). Signature:
openExternal(url: string, options?: ElectronShellOpenExternalOptions | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| url | string | The URL to open. |
| options? | ElectronShellOpenExternalOptions | undefined | Options for opening the URL. |
Returns: Promise<void> — A Promise that resolves when the URL has been opened.