From 9154b483c018e3ed459b7bb8d5ad84b2d45a235e Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Wed, 24 Mar 2021 17:17:03 +0100 Subject: [PATCH] Temporary fix for building masdev (#809) --- patches/app-builder-lib+22.10.5.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patches/app-builder-lib+22.10.5.patch b/patches/app-builder-lib+22.10.5.patch index d9b8543c678..d837632e98d 100644 --- a/patches/app-builder-lib+22.10.5.patch +++ b/patches/app-builder-lib+22.10.5.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/app-builder-lib/out/macPackager.js b/node_modules/app-builder-lib/out/macPackager.js -index 41e067c..1aec3a6 100644 +index 41e067c..cd97293 100644 --- a/node_modules/app-builder-lib/out/macPackager.js +++ b/node_modules/app-builder-lib/out/macPackager.js @@ -292,6 +292,23 @@ class MacPackager extends _platformPackager().PlatformPackager { @@ -43,3 +43,12 @@ index 41e067c..1aec3a6 100644 await rmdir(x64AppOutDir, { recursive: true }); +@@ -611,7 +636,7 @@ exports.default = MacPackager; + + function getCertificateType(isMas, isDevelopment) { + if (isDevelopment) { +- return "Mac Developer"; ++ return "Apple Development"; + } + + return isMas ? "3rd Party Mac Developer Application" : "Developer ID Application";