From 3bb7a9fec4559ddc789c424b92a92122ad09c1f4 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 4 Jan 2025 14:49:41 -0800 Subject: [PATCH] copy from Debug --- build/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.js b/build/build.js index ee8fd5f..4844788 100644 --- a/build/build.js +++ b/build/build.js @@ -73,7 +73,7 @@ async function packageExtension(target) { } async function copyResult(filepath, target) { - const srcFilename = path.join(filepath, 'dawn.node'); + const srcFilename = path.join(...[filepath, ...addElemIf(isWin, 'Debug'), 'dawn.node']); const dstFilename = path.join('dist', `${target}.dawn.node`); fs.mkdirSync(path.dirname(dstFilename), {recursive: true}); fs.copyFileSync(srcFilename, dstFilename);