Skip to content

Commit

Permalink
2023-11-19 17:45:30
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Nov 19, 2023
1 parent c7ee15e commit deebe2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ Generic module for PowerShell. Used in PkgStore modules. Contains common functio
## Install

```powershell
${MOD} = "Kernel"; ${PFX} = "PkgStore"; ${DIR} = "$( (${env:PSModulePath} -split ';')[0] )"; Invoke-WebRequest "https://github.com/pkgstore/pwsh-${MOD}/archive/refs/heads/main.zip" -OutFile "${DIR}\${MOD}.zip"; Expand-Archive -Path "${DIR}\${MOD}.zip" -DestinationPath "${DIR}"; if ( Test-Path -Path "${DIR}\${PFX}.${MOD}" ) { Remove-Item -Path "${DIR}\${PFX}.${MOD}" -Recurse -Force }; Rename-Item -Path "${DIR}\pwsh-${MOD}-main" -NewName "${DIR}\${PFX}.${MOD}"; Remove-Item -Path "${DIR}\${MOD}.zip";
Install-CustomModule -Name 'Kernel' -GitHubPath 'pkgstore/pwsh-kernel'
```

0 comments on commit deebe2d

Please sign in to comment.