generated from Ash258/GenericBucket
/
pwsh.json
48 lines (48 loc) · 1.8 KB
/
pwsh.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"version": "7.4.2",
"description": "Cross-platform automation and configuration tool/framework, known as Powershell Core, that works well with existing tools and is optimized for dealing with structured data.",
"homepage": "https://github.com/PowerShell/PowerShell",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/PowerShell-7.4.2-win-x64.zip",
"hash": "1e43548e1000ef8220a24da3ea5113b140dd1b2301db03d732b48b980a887656"
},
"32bit": {
"url": "https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/PowerShell-7.4.2-win-x86.zip",
"hash": "e6ebbbc1335f496928e2721a0bec79aaf7037658511e241cb51c8b05c78c88f0"
}
},
"pre_install": [
"'Microsoft.PowerShell_profile.ps1', 'profile.ps1' | ForEach-Object {",
" if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" | Out-Null }",
"}"
],
"bin": "pwsh.exe",
"shortcuts": [
[
"pwsh.exe",
"PowerShell Core",
"-WorkingDirectory ~"
]
],
"persist": [
"Microsoft.PowerShell_profile.ps1",
"profile.ps1"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/PowerShell/PowerShell/releases/download/v$version/PowerShell-$version-win-x64.zip"
},
"32bit": {
"url": "https://github.com/PowerShell/PowerShell/releases/download/v$version/PowerShell-$version-win-x86.zip"
}
},
"hash": {
"url": "https://github.com/PowerShell/PowerShell/releases/tag/v$version/",
"regex": "$basename\\s*<ul>\\s*<li>$sha256"
}
}
}