fix: expose Windows archive tools to native modules

This commit is contained in:
reaper
2026-08-28 08:24:15 -05:00
parent f00422bf08
commit 3d91e90b2f
4 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ import {
stopNativeProject
} from './nativeProject'
import { allocateNativePorts } from './portAllocator'
import { AURORA_ENV } from '../auroraEngine'
const projectRoot = join(tmpdir(), 'aurora demo')
const installedRuntimeRoot = join(tmpdir(), 'aurora-runtime')
@@ -190,7 +191,7 @@ it.runIf(Boolean(process.env.AURORA_NATIVE_WORDPRESS_SMOKE_ROOT))(
run: async (_label: string, command: string, args: string[], env?: NodeJS.ProcessEnv) => {
await execFileAsync(command, args, {
cwd: root,
env: { ...process.env, ...env },
env: { ...AURORA_ENV, ...env },
maxBuffer: 32 * 1024 * 1024
})
},