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 );