mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-04 05:08:06 +02:00
remove code signatures path before signing
This commit is contained in:
parent
d22738db4c
commit
c75d5c38d4
@ -171,6 +171,7 @@ function edgeCopyAssets(source, dest) {
|
||||
function distSafari(cb) {
|
||||
const buildPath = paths.dist + 'Safari/';
|
||||
const builtAppexPath = buildPath + 'build/Release/safari.appex';
|
||||
const builtSafariCodeSigPath = builtAppexPath + '/Contents/_CodeSignature';
|
||||
const builtSafariExecutablePath = builtAppexPath + '/Contents/MacOS/safari';
|
||||
const entitlementsPath = paths.safari + 'safari/safari.entitlements';
|
||||
const devId = 'Developer ID Application: 8bit Solutions LLC';
|
||||
@ -187,6 +188,12 @@ function distSafari(cb) {
|
||||
'Release']);
|
||||
stdOutProc(proc);
|
||||
return new Promise((resolve) => proc.on('close', resolve));
|
||||
}).then(() => {
|
||||
const proc = child.spawn('rm', [
|
||||
'-rf',
|
||||
builtSafariCodeSigPath]);
|
||||
stdOutProc(proc);
|
||||
return new Promise((resolve) => proc.on('close', resolve));
|
||||
}).then(() => {
|
||||
const proc = child.spawn('codesign', [
|
||||
'--verbose',
|
||||
|
Loading…
Reference in New Issue
Block a user