Skip to content

electron builder.Interface.Protocol

Electron-Builder / electron-builder / Protocol

URL Protocol Schemes. Protocols to associate the app with. macOS only.

Please note — on macOS you need to register an open-url event handler.

Properties

name

readonly name: string

The name. e.g. IRC server URL.


role?

readonly optional role: "Editor" | "Viewer" | "Shell" | "None"

macOS-only The app’s role with respect to the type.

Default

Editor

schemes

readonly schemes: string[]

The schemes. e.g. ["irc", "ircs"].