Fix build on macOS

This commit is contained in:
Fedor Indutny
2024-06-25 11:24:29 -07:00
committed by GitHub
parent aefe84dfc4
commit ba77ef7563
3 changed files with 13 additions and 27 deletions

View 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) {