diff --git a/docs/api/electron-builder-http.md b/docs/api/electron-builder-http.md index 8225e37ff6f..a9570947f6b 100644 --- a/docs/api/electron-builder-http.md +++ b/docs/api/electron-builder-http.md @@ -7,6 +7,8 @@
String
|
| callback | function
|
+
+
+## electron-builder-http/out/rfc2253Parser
+
+
+### `electron-builder-http/out/rfc2253Parser.parseDn(seq)` ⇒ Map<String \| String>
+**Kind**: method of [electron-builder-http/out/rfc2253Parser
](#module_electron-builder-http/out/rfc2253Parser)
+
+| Param | Type |
+| --- | --- |
+| seq | String
|
+
## electron-builder-http
diff --git a/docs/api/electron-builder.md b/docs/api/electron-builder.md
index 8773fc8c4d3..33ea329847d 100644
--- a/docs/api/electron-builder.md
+++ b/docs/api/electron-builder.md
@@ -467,11 +467,12 @@
* [electron-builder/out/linuxPackager](#module_electron-builder/out/linuxPackager)
* [.LinuxPackager](#LinuxPackager) ⇐ [PlatformPackager](#PlatformPackager)
* [`.createTargets(targets, mapper, cleanupTasks)`](#module_electron-builder/out/linuxPackager.LinuxPackager+createTargets)
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
* [`.getElectronDestDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronDestDir) ⇒ String
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronSrcDir) ⇒ String
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -498,11 +499,12 @@
* [.LinuxPackager](#LinuxPackager) ⇐ [PlatformPackager](#PlatformPackager)
* [`.createTargets(targets, mapper, cleanupTasks)`](#module_electron-builder/out/linuxPackager.LinuxPackager+createTargets)
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
* [`.getElectronDestDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronDestDir) ⇒ String
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronSrcDir) ⇒ String
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -525,6 +527,17 @@
| mapper | callback
|
| cleanupTasks | Array<module:electron-builder/out/linuxPackager.__type>
|
+
+
+#### `linuxPackager.computeSafeArtifactName(ext, arch, skipArchIfX64)` ⇒ String
+**Kind**: instance method of [LinuxPackager
](#LinuxPackager)
+
+| Param | Type |
+| --- | --- |
+| ext | String
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
+| skipArchIfX64 | |
+
#### `linuxPackager.getDefaultIcon(ext)` ⇒ Promise< \| String>
@@ -566,7 +579,7 @@
-#### `linuxPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)` ⇒ String
+#### `linuxPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)` ⇒ String
**Kind**: instance method of [LinuxPackager
](#LinuxPackager)
| Param | Type |
@@ -575,6 +588,7 @@
| ext | String
|
| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
+| skipArchIfX64 | |
@@ -674,9 +688,10 @@
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/macPackager.MacPackager+getElectronSrcDir) ⇒ String
* [`.getIconPath()`](#module_electron-builder/out/macPackager.MacPackager+getIconPath) ⇒ Promise< \| String>
* [`.pack(outDir, arch, targets, postAsyncTasks)`](#module_electron-builder/out/macPackager.MacPackager+pack) ⇒ Promise<any>
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -705,9 +720,10 @@
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/macPackager.MacPackager+getElectronSrcDir) ⇒ String
* [`.getIconPath()`](#module_electron-builder/out/macPackager.MacPackager+getIconPath) ⇒ Promise< \| String>
* [`.pack(outDir, arch, targets, postAsyncTasks)`](#module_electron-builder/out/macPackager.MacPackager+pack) ⇒ Promise<any>
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -766,6 +782,17 @@
| targets | Array<[Target](electron-builder-core#Target)>
|
| postAsyncTasks | Array<Promise<any>>
|
+
+
+#### `macPackager.computeSafeArtifactName(ext, arch, skipArchIfX64)` ⇒ String
+**Kind**: instance method of [MacPackager
](#MacPackager)
+
+| Param | Type |
+| --- | --- |
+| ext | String
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
+| skipArchIfX64 | |
+
#### `macPackager.getDefaultIcon(ext)` ⇒ Promise< \| String>
@@ -789,7 +816,7 @@
-#### `macPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)` ⇒ String
+#### `macPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)` ⇒ String
**Kind**: instance method of [MacPackager
](#MacPackager)
| Param | Type |
@@ -798,6 +825,7 @@
| ext | String
|
| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
+| skipArchIfX64 | |
@@ -916,12 +944,13 @@
* [electron-builder/out/platformPackager](#module_electron-builder/out/platformPackager)
* [.PlatformPackager](#PlatformPackager)
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.createTargets(targets, mapper, cleanupTasks)`](#module_electron-builder/out/platformPackager.PlatformPackager+createTargets)
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
* [`.getElectronDestDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronDestDir) ⇒ String
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronSrcDir) ⇒ String
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -959,12 +988,13 @@
* [.PlatformPackager](#PlatformPackager)
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.createTargets(targets, mapper, cleanupTasks)`](#module_electron-builder/out/platformPackager.PlatformPackager+createTargets)
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
* [`.getElectronDestDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronDestDir) ⇒ String
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronSrcDir) ⇒ String
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -975,6 +1005,17 @@
* [`.getResourcesDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getResourcesDir) ⇒ String
* [`.getTempFile(suffix)`](#module_electron-builder/out/platformPackager.PlatformPackager+getTempFile) ⇒ Promise<String>
+
+
+#### `platformPackager.computeSafeArtifactName(ext, arch, skipArchIfX64)` ⇒ String
+**Kind**: instance method of [PlatformPackager
](#PlatformPackager)
+
+| Param | Type |
+| --- | --- |
+| ext | String
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
+| skipArchIfX64 | |
+
#### `platformPackager.createTargets(targets, mapper, cleanupTasks)`
@@ -1027,7 +1068,7 @@
-#### `platformPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)` ⇒ String
+#### `platformPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)` ⇒ String
**Kind**: instance method of [PlatformPackager
](#PlatformPackager)
| Param | Type |
@@ -1036,6 +1077,7 @@
| ext | String
|
| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
+| skipArchIfX64 | |
@@ -1252,6 +1294,7 @@
* [electron-builder/out/targets/appx](#module_electron-builder/out/targets/appx)
* [.AppXTarget](#AppXTarget) ⇐ [Target](electron-builder-core#Target)
* [`.build(appOutDir, arch)`](#module_electron-builder/out/targets/appx.AppXTarget+build) ⇒ Promise<any>
+ * [`.quoteString(s)`](#module_electron-builder/out/targets/appx.quoteString) ⇒ String
@@ -1274,6 +1317,15 @@
| appOutDir | String
|
| arch | [Arch](electron-builder-core#Arch)
|
+
+
+### `electron-builder/out/targets/appx.quoteString(s)` ⇒ String
+**Kind**: method of [electron-builder/out/targets/appx
](#module_electron-builder/out/targets/appx)
+
+| Param | Type |
+| --- | --- |
+| s | String
|
+
## electron-builder/out/targets/ArchiveTarget
@@ -1753,11 +1805,12 @@
* [`.getIconPath()`](#module_electron-builder/out/winPackager.WinPackager+getIconPath) ⇒ Promise<String>
* [`.sign(file, logMessagePrefix)`](#module_electron-builder/out/winPackager.WinPackager+sign) ⇒ Promise<void>
* [`.signAndEditResources(file)`](#module_electron-builder/out/winPackager.WinPackager+signAndEditResources) ⇒ Promise<void>
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
* [`.getElectronDestDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronDestDir) ⇒ String
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronSrcDir) ⇒ String
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -1827,9 +1880,9 @@
if (publisherName == null && cscFile != null) {
if (process.platform === "win32") {
try {
- const subject = (await exec("powershell.exe", [`(Get-PfxCertificate "${cscFile}").Subject`])).trim().match(/CN=([^,]+)/)
+ const subject = parseDn(await exec("powershell.exe", [`(Get-PfxCertificate "${cscFile}").Subject`])).get("CN")
if (subject) {
- return asArray(subject[1])
+ return asArray(subject)
}
}
catch (e) {
@@ -1861,11 +1914,12 @@
* [`.getIconPath()`](#module_electron-builder/out/winPackager.WinPackager+getIconPath) ⇒ Promise<String>
* [`.sign(file, logMessagePrefix)`](#module_electron-builder/out/winPackager.WinPackager+sign) ⇒ Promise<void>
* [`.signAndEditResources(file)`](#module_electron-builder/out/winPackager.WinPackager+signAndEditResources) ⇒ Promise<void>
+ * [`.computeSafeArtifactName(ext, arch, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+computeSafeArtifactName) ⇒ String
* [`.getDefaultIcon(ext)`](#module_electron-builder/out/platformPackager.PlatformPackager+getDefaultIcon) ⇒ Promise< \| String>
* [`.dispatchArtifactCreated(file, target, arch, safeArtifactName)`](#module_electron-builder/out/platformPackager.PlatformPackager+dispatchArtifactCreated)
* [`.getElectronDestDir(appOutDir)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronDestDir) ⇒ String
* [`.getElectronSrcDir(dist)`](#module_electron-builder/out/platformPackager.PlatformPackager+getElectronSrcDir) ⇒ String
- * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
+ * [`.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandArtifactNamePattern) ⇒ String
* [`.expandMacro(pattern, arch, extra)`](#module_electron-builder/out/platformPackager.PlatformPackager+expandMacro) ⇒ String
* [`.generateName(ext, arch, deployment, classifier)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName) ⇒ String
* [`.generateName2(ext, classifier, deployment)`](#module_electron-builder/out/platformPackager.PlatformPackager+generateName2) ⇒ String
@@ -1911,6 +1965,17 @@
| --- | --- |
| file | String
|
+
+
+#### `winPackager.computeSafeArtifactName(ext, arch, skipArchIfX64)` ⇒ String
+**Kind**: instance method of [WinPackager
](#WinPackager)
+
+| Param | Type |
+| --- | --- |
+| ext | String
|
+| arch | [Arch](electron-builder-core#Arch)
\| null
|
+| skipArchIfX64 | |
+
#### `winPackager.getDefaultIcon(ext)` ⇒ Promise< \| String>
@@ -1952,7 +2017,7 @@
-#### `winPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern)` ⇒ String
+#### `winPackager.expandArtifactNamePattern(targetSpecificOptions, ext, arch, defaultPattern, skipArchIfX64)` ⇒ String
**Kind**: instance method of [WinPackager
](#WinPackager)
| Param | Type |
@@ -1961,6 +2026,7 @@
| ext | String
|
| arch | [Arch](electron-builder-core#Arch)
\| null
|
| defaultPattern | String
|
+| skipArchIfX64 | |
diff --git a/jsdoc/helpers.js b/jsdoc/helpers.js
index 774e659fb96..411142713df 100644
--- a/jsdoc/helpers.js
+++ b/jsdoc/helpers.js
@@ -20,6 +20,12 @@ function renderTypeNames(types, delimiter, root, isTypeAsCode, isSkipNull) {
const tagOpen = isTypeAsCode ? "" : ""
const tagClose = isTypeAsCode ? "
" : ""
+ for (let obj of types) {
+ if (obj.includes("CancellationToken")) {
+ break
+ }
+ }
+
if (isSkipNull) {
types = types.filter(it => !isSkipNull || it !== "null")
}
@@ -173,18 +179,7 @@ function _link(input, options) {
}
}
else {
- let pageUrl = ""
- for (const page of exports.pages) {
- if (page.dataMap.has(linked.id)) {
- const a = page.data
- const b = options.data.root
- if (a.length !== b.length && a[a.length - 1] !== b[a.length - 1]) {
- pageUrl = page.pageUrl
- }
- break
- }
- }
- output.url = `${pageUrl}#${anchorName.call(linked, options)}`
+ output.url = fullLink(linked, options.data.root)
}
return output
}
@@ -258,19 +253,23 @@ function identifierToLink(id, root) {
}
return output
}
+ return `[${linked.name}](${fullLink(linked, root)})`
+}
+function fullLink(linked, root) {
+ const relativeName = anchorName.call(linked)
let pageUrl = ""
for (const page of exports.pages) {
if (page.dataMap.has(linked.id)) {
const a = page.data
const b = root
- if (a.length !== b.length && a[a.length - 1] !== b[a.length - 1]) {
+ if (a.length !== b.length || a[a.length - 1] !== b[a.length - 1]) {
pageUrl = page.pageUrl
}
break
}
}
- return `[${linked.name}](${pageUrl}#${anchorName.call(linked)})`
+ return `${pageUrl}#${relativeName}`
}
function resolveById(id) {
diff --git a/package.json b/package.json
index e0735be2630..4b4aad4d5c2 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"electron-download-tf": "4.3.1",
"electron-is-dev": "^0.1.2",
"electron-osx-sign": "0.4.6",
- "fcopy-pre-bundled": "^0.1.2",
+ "fcopy-pre-bundled": "0.2.0",
"fs-extra-p": "^4.3.0",
"hosted-git-info": "^2.4.2",
"ini": "^1.3.4",
diff --git a/packages/electron-builder-util/package.json b/packages/electron-builder-util/package.json
index 1b9d89c8c70..dc40ac5db1e 100644
--- a/packages/electron-builder-util/package.json
+++ b/packages/electron-builder-util/package.json
@@ -12,7 +12,7 @@
],
"dependencies": {
"fs-extra-p": "^4.3.0",
- "fcopy-pre-bundled": "^0.1.2",
+ "fcopy-pre-bundled": "0.2.0",
"is-ci": "^1.0.10",
"stat-mode": "^0.2.2",
"bluebird-lst": "^1.0.2",
diff --git a/packages/electron-builder/src/macPackager.ts b/packages/electron-builder/src/macPackager.ts
index cb72ce21a54..0d9b82e1077 100644
--- a/packages/electron-builder/src/macPackager.ts
+++ b/packages/electron-builder/src/macPackager.ts
@@ -236,7 +236,7 @@ export default class MacPackager extends PlatformPackager