mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-08 11:57:59 +08:00
Update chocolately.yml
?
This commit is contained in:
parent
80e6dd3fb0
commit
63e5e70275
2
.github/workflows/chocolately.yml
vendored
2
.github/workflows/chocolately.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
rm .git -Recurse -Force -Confirm:$false
|
||||
$response=curl.exe -s https://api.github.com/repos/lin-ycv/everythingpowertoys/releases/latest
|
||||
$browser=($response | select-string "browser_").Line
|
||||
if($browser.Count -gt 1){ $browser=$browser[$browser.Count-1] }
|
||||
if($browser.Count > 1){ $browser=$browser[-1] }
|
||||
$url=$browser.Split("`"")[3]
|
||||
$ver=($response | select-string '"name":').Line[0].Split("`"")[3].Split(" ")[0].substring(1)
|
||||
Invoke-WebRequest $url -O e.zip
|
||||
|
Loading…
Reference in New Issue
Block a user