electron-builder-core
Advanced tools
Comparing version 13.6.0 to 15.2.0
@@ -47,2 +47,5 @@ "use strict"; | ||
if (type == null && (archs == null || archs.length === 0)) { | ||
return new Map([[this, new Map()]]); | ||
} | ||
const archToType = new Map(); | ||
@@ -95,2 +98,5 @@ if (this === Platform.MAC) { | ||
} | ||
exports.Target = Target; //# sourceMappingURL=core.js.map | ||
exports.Target = Target; | ||
const DEFAULT_TARGET = exports.DEFAULT_TARGET = "default"; | ||
const DIR_TARGET = exports.DIR_TARGET = "dir"; | ||
//# sourceMappingURL=core.js.map |
@@ -7,7 +7,20 @@ declare module "electron-builder-core" { | ||
} | ||
export type ArchType = "x64" | "ia32" | "armv7l" | ||
export function getArchSuffix(arch: Arch): string | ||
export type TargetConfigType = Array<string | TargetConfig> | string | TargetConfig | null | ||
export function toLinuxArchString(arch: Arch): "i386" | "amd64" | "armv7l" | ||
export interface TargetConfig { | ||
/** | ||
* The target name. e.g. `snap`. | ||
*/ | ||
readonly target: string | ||
/** | ||
* The arch or list of archs. | ||
*/ | ||
readonly arch?: Array<"x64" | "ia32" | "armv7l"> | string | ||
} | ||
export function toLinuxArchString(arch: Arch): "armv7l" | "i386" | "amd64" | ||
export function archFromString(name: string): Arch | ||
@@ -40,6 +53,11 @@ | ||
export interface TargetSpecificOptions { | ||
/** | ||
The [artifact file name pattern](https://github.com/electron-userland/electron-builder/wiki/Options#artifact-file-name-pattern). | ||
*/ | ||
readonly artifactName?: string | null | ||
readonly forceCodeSigning?: boolean | ||
} | ||
export const DEFAULT_TARGET = "default" | ||
export const DIR_TARGET = "dir" | ||
} | ||
{ | ||
"name": "electron-builder-core", | ||
"version": "13.6.0", | ||
"version": "15.2.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
11798
149