diff --git a/dist/index.js b/dist/index.js index 48a2e3e..c1c77fc 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/package.json b/package.json index 4bc2782..407d4e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { "private": true, - "packageManager": "pnpm@10.32.1", "scripts": { "build:bundle": "esbuild src/index.ts --bundle --platform=node --target=node24 --format=cjs --minify --outfile=dist/index.js --loader:.json=json", "build": "pnpm run build:bundle", diff --git a/src/install-pnpm/run.ts b/src/install-pnpm/run.ts index 104e371..c4cabaf 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -74,6 +74,7 @@ function runCommand(cmd: string, args: string[], opts: { cwd: string }): Promise const cp = spawn(cmd, args, { cwd: opts.cwd, stdio: ['pipe', 'inherit', 'inherit'], + shell: process.platform === 'win32', }) cp.on('error', reject) cp.on('close', resolve)