mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-14 23:18:54 +00:00
Fix build on macOS
This commit is contained in:
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) {
|
||||
Reference in New Issue
Block a user