mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 18:21:22 +00:00
pwsh: Add hash to autoupdate (#2578)
This commit is contained in:
parent
1700c1145b
commit
8bcdee721e
@ -19,9 +19,7 @@
|
|||||||
"PowerShell Core"
|
"PowerShell Core"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"checkver": {
|
"checkver": "github",
|
||||||
"github": "https://github.com/PowerShell/PowerShell"
|
|
||||||
},
|
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
@ -30,6 +28,10 @@
|
|||||||
"32bit": {
|
"32bit": {
|
||||||
"url": "https://github.com/PowerShell/PowerShell/releases/download/v$version/PowerShell-$version-win-x86.zip"
|
"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