diff --git a/README.md b/README.md index 336158fc..17c730cf 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,7 @@ To extract descriptions from existing packages into README.md files the followin ls | ? PSIsContainer | ? { !(Test-Path $_\Readme.md) } | % { $package = New-Object AUPackage (Resolve-Path $_) - $readme = @('# [{0}](https://chocolatey.org/packages/{0})' -f $package.Name, '') + $readme = @('# [{0}](https://chocolatey.org/packages/{0})' -f $package.Name, $package.iconUrl, '') $readme += $package.NuspecXml.package.metadata.description -split "`n" | % { $_.Trim() } $readme -join "`n" | Out-File $_\README.md }