Fix build on macOS
This commit is contained in:
parent
aefe84dfc4
commit
ba77ef7563
3 changed files with 13 additions and 27 deletions
26
package-lock.json
generated
26
package-lock.json
generated
|
@ -19110,32 +19110,6 @@
|
|||
"js-yaml": "bin/js-yaml.js"
|
||||
}
|
||||
},
|
||||
"node_modules/dmg-license": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dmg-license/-/dmg-license-1.0.0.tgz",
|
||||
"integrity": "sha512-61a1BbbDkx0SXcB8F1V/08mOcIcqeaLJukJQvessOcHdqbaGIq9yOimX+wr6YTSpHLjsOaNuFP5fm5gdKz0qnQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"dependencies": {
|
||||
"ajv": "^6.10.0",
|
||||
"cli-truncate": "^1.1.0",
|
||||
"crc": "^3.8.0",
|
||||
"iconv-corefoundation": "^1.1.1",
|
||||
"plist": "^3.0.1",
|
||||
"smart-buffer": "^4.0.2",
|
||||
"verror": "^1.10.0"
|
||||
},
|
||||
"bin": {
|
||||
"dmg-license": "bin/dmg-license.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.5"
|
||||
}
|
||||
},
|
||||
"node_modules/dns-equal": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz",
|
||||
|
|
|
@ -353,7 +353,6 @@
|
|||
},
|
||||
"@types/react": "17.0.45",
|
||||
"@types/react-dom": "17.0.17",
|
||||
"dmg-license": "$nop",
|
||||
"fabric": { "canvas": "$nop", "jsdom": "$nop" },
|
||||
"fast-glob": { "glob-parent": "5.1.2" },
|
||||
"read-last-lines": { "mz": { "thenify-all": { "thenify": "3.3.1" } } }
|
||||
|
|
13
patches/dmg-builder+24.13.3.patch
Normal file
13
patches/dmg-builder+24.13.3.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/node_modules/dmg-builder/out/dmgLicense.js b/node_modules/dmg-builder/out/dmgLicense.js
|
||||
index b91be7d..dad9ceb 100644
|
||||
--- a/node_modules/dmg-builder/out/dmgLicense.js
|
||||
+++ b/node_modules/dmg-builder/out/dmgLicense.js
|
||||
@@ -6,7 +6,7 @@ const js_yaml_1 = require("js-yaml");
|
||||
const license_1 = require("app-builder-lib/out/util/license");
|
||||
const fs_extra_1 = require("fs-extra");
|
||||
const licenseButtons_1 = require("./licenseButtons");
|
||||
-const dmg_license_1 = require("dmg-license");
|
||||
+// SIGNAL: const dmg_license_1 = require("dmg-license");
|
||||
async function addLicenseToDmg(packager, dmgPath) {
|
||||
const licenseFiles = await (0, license_1.getLicenseFiles)(packager);
|
||||
if (licenseFiles.length === 0) {
|
Loading…
Reference in a new issue