Skip to content

Commit

Permalink
fix: install powershell-core on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 8, 2022
1 parent 9b2d6d9 commit 577f9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/powershell/powershell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { execSudo } from "../utils/exec/sudo"
export async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {
switch (process.platform) {
case "win32": {
await setupChocoPack("powershell", version)
await setupChocoPack("powershell-core", version)
const binDir = "C:/Program Files/PowerShell/7"
await addPath(binDir)
return { binDir }
Expand Down

0 comments on commit 577f9c5

Please sign in to comment.