dont sign libs on mas build
This commit is contained in:
parent
d7a1ee8a5e
commit
701099a122
|
@ -195,9 +195,10 @@ function distSafariApp(cb, subBuildPath, devId) {
|
||||||
stdOutProc(proc);
|
stdOutProc(proc);
|
||||||
return new Promise((resolve) => proc.on('close', resolve));
|
return new Promise((resolve) => proc.on('close', resolve));
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
const isMas = subBuildPath == 'mas';
|
||||||
const libs = fs.readdirSync(builtAppexFrameworkPath).filter((p) => p.endsWith('.dylib'))
|
const libs = fs.readdirSync(builtAppexFrameworkPath).filter((p) => p.endsWith('.dylib'))
|
||||||
.map((p) => builtAppexFrameworkPath + p);
|
.map((p) => builtAppexFrameworkPath + p);
|
||||||
const allItems = libs.concat([builtAppexPath]);
|
const allItems = isMas ? [builtAppexPath] : [...builtAppexPath, ...libs];
|
||||||
const promises = [];
|
const promises = [];
|
||||||
allItems.forEach((i) => {
|
allItems.forEach((i) => {
|
||||||
const args1 = [
|
const args1 = [
|
||||||
|
@ -213,7 +214,7 @@ function distSafariApp(cb, subBuildPath, devId) {
|
||||||
entitlementsPath,
|
entitlementsPath,
|
||||||
i];
|
i];
|
||||||
let args = [];
|
let args = [];
|
||||||
if (subBuildPath == 'mas') {
|
if (isMas) {
|
||||||
args = [...args1, ...args2];
|
args = [...args1, ...args2];
|
||||||
} else {
|
} else {
|
||||||
args = [...args1, ...argsHardRuntime, ...args2];
|
args = [...args1, ...argsHardRuntime, ...args2];
|
||||||
|
|
Loading…
Reference in New Issue