Use powershell functions to wrap npm, npx, yarn, pnpm and pnpx

This commit is contained in:
Sander Declerck 2025-07-23 11:16:38 +02:00
parent eba1e9cc8e
commit 577b09bd39
No known key found for this signature in database
6 changed files with 217 additions and 117 deletions

View file

@ -81,7 +81,7 @@ function setupShell(shell) {
}
function copyStartupFiles() {
const startupFiles = ["init-posix.sh"];
const startupFiles = ["init-posix.sh", "init-pwsh.ps1"];
for (const file of startupFiles) {
const targetPath = path.join(os.homedir(), ".safe-chain", "scripts", file);