Skip to content

Commit

Permalink
pwsh: Update to version 7.4.5
Browse files Browse the repository at this point in the history
Archive version 7.2.23
  • Loading branch information
github-actions[bot] committed Aug 20, 2024
1 parent be726e0 commit 4eff6bd
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 8 deletions.
49 changes: 49 additions & 0 deletions bucket/old/pwsh/7.2.23.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
version: 7.2.23
description: PowerShell Core. Cross-Platform task automation and configuration management framework/tool.
homepage: https://github.com/PowerShell/PowerShell
license:
identifier: MIT
url: https://github.com/PowerShell/PowerShell/blob/master/LICENSE.txt
changelog: https://github.com/PowerShell/PowerShell/releases/tag/v7.2.23
architecture:
64bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-x64.zip
hash: 1e2fb1aa11d3f8bc0daa6dc26a3b1cd047277e84e912427d3837fb2ab3695af2
32bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-x86.zip
hash: 0ca6084d8648472ebc13f485df89334f7bf46f8105a949590087a69d02a2d5c6
arm64:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-arm64.zip
hash: 3e9d302ce98612f11cb335ce41947f94773b1983af4eef07d3c823e996e2b4d6
pre_install: |
Test-Persistence 'Microsoft.PowerShell_profile.ps1', 'profile.ps1'
#### Variables
$GIST = 'https://gist.githubusercontent.com/Ash258/e143436e2f9183a650424d635b535e51/raw'
$PWSH_PATH = "$dir".Replace('\', '\\')
$INS_REG = "$dir\pwsh-context-ins.reg"
$UNINS_REG = "$dir\pwsh-context-un.reg"
#### Downloading
$content = (New-Object System.Net.WebClient).DownloadString("$GIST/pwsh-context-ins.reg")
$content = $content.Replace('%%dir%%', $PWSH_PATH)
#### SET FILES
Out-UTF8File $INS_REG $content
$content = (New-Object System.Net.WebClient).DownloadString("$GIST/pwsh-context-un.reg")
Out-UTF8File $UNINS_REG $content
#### Append registry
regedit /s $INS_REG
pre_uninstall: |
#### Remove registry entry
regedit /s "$dir\pwsh-context-un.reg"
bin:
- - pwsh.exe
- pwsh
- -NoLogo
shortcuts:
- - pwsh.exe
- PowerShell Core
- -NoLogo
persist:
- Microsoft.PowerShell_profile.ps1
- profile.ps1
16 changes: 8 additions & 8 deletions bucket/pwsh.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
version: 7.2.23
version: 7.4.5
description: PowerShell Core. Cross-Platform task automation and configuration management framework/tool.
homepage: https://github.com/PowerShell/PowerShell
license:
identifier: MIT
url: https://github.com/PowerShell/PowerShell/blob/master/LICENSE.txt
changelog: https://github.com/PowerShell/PowerShell/releases/tag/v7.2.23
changelog: https://github.com/PowerShell/PowerShell/releases/tag/v7.4.5
architecture:
64bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-x64.zip
hash: 1e2fb1aa11d3f8bc0daa6dc26a3b1cd047277e84e912427d3837fb2ab3695af2
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/PowerShell-7.4.5-win-x64.zip
hash: c735653083d4bc725687c005a4e6d4f0fb11c94b0cf86850467688796ac00342
32bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-x86.zip
hash: 0ca6084d8648472ebc13f485df89334f7bf46f8105a949590087a69d02a2d5c6
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/PowerShell-7.4.5-win-x86.zip
hash: 1729e62b201f79a98422a087defd8a9e42282cc1791934d1c1e6a9ef24fb704b
arm64:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-arm64.zip
hash: 3e9d302ce98612f11cb335ce41947f94773b1983af4eef07d3c823e996e2b4d6
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/PowerShell-7.4.5-win-arm64.zip
hash: b85ee560e8e5cb83bd34596864fd3aae4f2f472d3b31fce31ed6f351c6f26e96
pre_install: |
Test-Persistence 'Microsoft.PowerShell_profile.ps1', 'profile.ps1'
Expand Down

0 comments on commit 4eff6bd

Please sign in to comment.