1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

delay mac sign promises

This commit is contained in:
Kyle Spearrin 2019-09-30 15:34:37 -04:00
parent 473757be89
commit 53fe65ddbe

View File

@ -108,6 +108,7 @@ function signSafariExt(cb, dir) {
const proc = child.spawn('codesign', args); const proc = child.spawn('codesign', args);
stdOutProc(proc); stdOutProc(proc);
promises.push(new Promise((resolve) => proc.on('close', resolve))); promises.push(new Promise((resolve) => proc.on('close', resolve)));
promises.push(new Promise((resolve) => setTimeout(() => resolve(), 10000)));
}); });
return Promise.all(promises).then(() => { return Promise.all(promises).then(() => {
return cb; return cb;