1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

map out absolute path

This commit is contained in:
Kyle Spearrin 2019-09-24 09:25:24 -04:00
parent 704c3f56c6
commit 2192190063

View File

@ -195,7 +195,8 @@ function distSafariApp(cb, subBuildPath, devId) {
stdOutProc(proc);
return new Promise((resolve) => proc.on('close', resolve));
}).then(() => {
const libs = fs.readdirSync(builtAppexFrameworkPath).filter((p) => p.endsWith('.dylib'));
const libs = fs.readdirSync(builtAppexFrameworkPath).filter((p) => p.endsWith('.dylib'))
.map((p) => builtAppexFrameworkPath + p);
const allItems = libs.concat([builtAppexPath]);
const promises = [];
allItems.forEach ((i) => {