From 701099a1227ad28ec1da72516ee70d3a3838202f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 27 Sep 2019 21:31:41 -0400 Subject: [PATCH] dont sign libs on mas build --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index ace38aaa61a..698358fd056 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -195,9 +195,10 @@ function distSafariApp(cb, subBuildPath, devId) { stdOutProc(proc); return new Promise((resolve) => proc.on('close', resolve)); }).then(() => { + const isMas = subBuildPath == 'mas'; const libs = fs.readdirSync(builtAppexFrameworkPath).filter((p) => p.endsWith('.dylib')) .map((p) => builtAppexFrameworkPath + p); - const allItems = libs.concat([builtAppexPath]); + const allItems = isMas ? [builtAppexPath] : [...builtAppexPath, ...libs]; const promises = []; allItems.forEach((i) => { const args1 = [ @@ -213,7 +214,7 @@ function distSafariApp(cb, subBuildPath, devId) { entitlementsPath, i]; let args = []; - if (subBuildPath == 'mas') { + if (isMas) { args = [...args1, ...args2]; } else { args = [...args1, ...argsHardRuntime, ...args2];