mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Merge pull request #18820 from joshaber/patch-1
Fix electron-packager's protocol options
This commit is contained in:
15
types/electron-packager/index.d.ts
vendored
15
types/electron-packager/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user