Interface MacOSProtocol

Defines URL protocol schemes to be used on macOS.

interface MacOSProtocol {
    name: string;
    schemes: string[];
}

Properties

Properties

name: string

The descriptive name. Maps to the CFBundleURLName metadata property.

schemes: string[]

One or more protocol schemes associated with the app. For example, specifying myapp would cause URLs such as myapp://path to be opened with the app. Maps to the CFBundleURLSchemes metadata property.