electron-builder-core
Advanced tools
Comparing version 15.3.0 to 15.5.0
@@ -89,3 +89,86 @@ declare module "electron-builder-core" { | ||
} | ||
/** | ||
* File associations. | ||
* | ||
* macOS (corresponds to [CFBundleDocumentTypes](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685)) and NSIS only. | ||
* | ||
* On Windows works only if [nsis.perMachine](https://github.com/electron-userland/electron-builder/wiki/Options#NsisOptions-perMachine) is set to `true`. | ||
*/ | ||
export interface FileAssociation { | ||
/** | ||
* The extension (minus the leading period). e.g. `png`. | ||
*/ | ||
readonly ext: string | Array<string> | ||
/** | ||
* The name. e.g. `PNG`. Defaults to `ext`. | ||
*/ | ||
readonly name?: string | null | ||
/** | ||
* *windows-only.* The description. | ||
*/ | ||
readonly description?: string | null | ||
/** | ||
* The path to icon (`.icns` for MacOS and `.ico` for Windows), relative to `build` (build resources directory). Defaults to `${firstExt}.icns`/`${firstExt}.ico` (if several extensions specified, first is used) or to application icon. | ||
*/ | ||
readonly icon?: string | null | ||
/** | ||
* *macOS-only* The app’s role with respect to the type. The value can be `Editor`, `Viewer`, `Shell`, or `None`. Corresponds to `CFBundleTypeRole`. | ||
* @default Editor | ||
*/ | ||
readonly role?: string | ||
/** | ||
* *macOS-only* Whether the document is distributed as a bundle. If set to true, the bundle directory is treated as a file. Corresponds to `LSTypeIsPackage`. | ||
*/ | ||
readonly isPackage?: boolean | ||
} | ||
/** | ||
* URL Protocol Schemes. Protocols to associate the app with. macOS only. | ||
* | ||
* Please note — on macOS [you need to register an `open-url` event handler](http://electron.atom.io/docs/api/app/#event-open-url-macos). | ||
*/ | ||
export interface Protocol { | ||
/** | ||
* The name. e.g. `IRC server URL`. | ||
*/ | ||
readonly name: string | ||
/** | ||
* *macOS-only* The app’s role with respect to the type. | ||
* @default Editor | ||
*/ | ||
readonly role?: "Editor" | "Viewer" | "Shell" | "None" | ||
/** | ||
* The schemes. e.g. `["irc", "ircs"]`. | ||
*/ | ||
readonly schemes: Array<string> | ||
} | ||
/** | ||
* `directories` | ||
*/ | ||
export interface MetadataDirectories { | ||
/** | ||
* The path to build resources. | ||
* @default build | ||
*/ | ||
readonly buildResources?: string | null | ||
/** | ||
* The output directory. | ||
* @default dist | ||
*/ | ||
readonly output?: string | null | ||
/** | ||
* The application directory (containing the application package.json), defaults to `app`, `www` or working directory. | ||
*/ | ||
readonly app?: string | null | ||
} | ||
export interface SourceRepositoryInfo { | ||
type: string | ||
domain: string | ||
user: string | ||
project: string | ||
} | ||
} | ||
{ | ||
"name": "electron-builder-core", | ||
"version": "15.3.0", | ||
"version": "15.5.0", | ||
"main": "out/core.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18422
252