Replace protocol and protocolName with protocols

The CLI accepts the former, while the programatic interface accepts the latter.

93523ba8db/common.js (L44-L51)
This commit is contained in:
Josh Abernathy
2017-08-10 07:31:57 -04:00
committed by GitHub
parent 3b31f6b181
commit 411f3efe54

View File

@@ -185,15 +185,12 @@ declare namespace electronPackager {
* If present, signs OS X target apps when the host platform is OS X and XCode is installed.
*/
osxSign?: boolean | ElectronOsXSignOptions;
/**
* The URL protocol scheme(s) to associate the app with
*/
protocol?: string[];
/**
* The descriptive name(s) of the URL protocol scheme(s) specified via the protocol option.
* Maps to the CFBundleURLName metadata property.
*/
protocolName?: string[];
/** The URL protocol schemes the app supports. */
protocols: Array<{
name: string
schemes: string[]
}>;
/**
* Windows targets only