Skip to content

Commit

Permalink
pwsh: Update to version 7.2.23
Browse files Browse the repository at this point in the history
Archive version 7.4.4
  • Loading branch information
github-actions[bot] committed Aug 20, 2024
1 parent d9da291 commit be726e0
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.4.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
version: 7.4.4
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.4.4
architecture:
64bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.4/PowerShell-7.4.4-win-x64.zip
hash: 6461dd3fda39fc65e30c7642f863b9e1dabe32885043094e1d8a79dffcef1dcb
32bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.4/PowerShell-7.4.4-win-x86.zip
hash: 79f79f5615e65cf84212579eeb7d7cd9c89f2f0ff9dee24ae570561877dfdfcb
arm64:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.4/PowerShell-7.4.4-win-arm64.zip
hash: ca7e26f87b9ea4d1a4e5f6106a2e4506290284a0e892cc1f3e4a4227e7cd59ac
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.4.4
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.4.4
changelog: https://github.com/PowerShell/PowerShell/releases/tag/v7.2.23
architecture:
64bit:
url: https://github.com/PowerShell/PowerShell/releases/download/v7.4.4/PowerShell-7.4.4-win-x64.zip
hash: 6461dd3fda39fc65e30c7642f863b9e1dabe32885043094e1d8a79dffcef1dcb
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.4.4/PowerShell-7.4.4-win-x86.zip
hash: 79f79f5615e65cf84212579eeb7d7cd9c89f2f0ff9dee24ae570561877dfdfcb
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.4.4/PowerShell-7.4.4-win-arm64.zip
hash: ca7e26f87b9ea4d1a4e5f6106a2e4506290284a0e892cc1f3e4a4227e7cd59ac
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'
Expand Down

0 comments on commit be726e0

Please sign in to comment.