mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 10:11:21 +00:00
pwsh: Add hash to autoupdate (#2578)
This commit is contained in:
parent
1700c1145b
commit
8bcdee721e
@ -19,9 +19,7 @@
|
||||
"PowerShell Core"
|
||||
]
|
||||
],
|
||||
"checkver": {
|
||||
"github": "https://github.com/PowerShell/PowerShell"
|
||||
},
|
||||
"checkver": "github",
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
@ -30,6 +28,10 @@
|
||||
"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/",
|
||||
"find": "$basename\\s*<ul>\\s*<li>([A-Fa-f\\d]{64})"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user