1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Fix invalid directory

This commit is contained in:
Daniel García
2024-07-09 17:47:00 +02:00
parent c77156ab15
commit e2d45ef84d
2 changed files with 15 additions and 12 deletions

View File

@@ -17,6 +17,7 @@ function buildProxyBin(target) {
}
if (!crossPlatform) {
console.log("Building native modules for the native architecture");
buildNapiModule();
buildProxyBin();
return;
@@ -52,6 +53,8 @@ switch (process.platform) {
break;
}
console.log("Cross building native modules for the targets: ", targets.map(([target, _]) => target).join(", "));
fs.mkdirSync(path.join(__dirname, "dist"), { recursive: true });
targets.forEach(([target, nodeArch]) => {