ConEmu/Deploy/github-release-downloads.ps1
2020-06-21 23:19:52 +02:00

4 lines
339 B
PowerShell

$rels = (conemuc -download https://api.github.com/repos/Maximus5/ConEmu/releases - 2>$null)
$rel = ConvertFrom-JSON $rels
$rel | foreach { Write-Host -NoNewLine "$($_.name): "; $total=0; $_.Assets | foreach { $total+=$_.download_count; Write-Host -NoNewLine " $($_.download_count)"}; Write-Host "; Total $total"; }; Write-Host "Done"