From 881275215bcfbddda5787d4eb43171a27854c7db Mon Sep 17 00:00:00 2001 From: Xiaogang Date: Thu, 25 Jul 2024 18:38:42 +0800 Subject: [PATCH] Explictly specify the target folder of assets (#1359) --- powershell/plugins/powershell-v2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/plugins/powershell-v2.ts b/powershell/plugins/powershell-v2.ts index a42bf5ca7f..a68a95a722 100644 --- a/powershell/plugins/powershell-v2.ts +++ b/powershell/plugins/powershell-v2.ts @@ -41,7 +41,7 @@ async function copyRequiredFiles(project: Project) { await copyResources( join(resources, 'assets'), async (fname, content) => - project.state.writeFile(fname, content, undefined, 'source-file-other'), + project.state.writeFile(join(project.baseFolder, fname), content, undefined, 'source-file-other'), undefined, transformOutput );