Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
majkinetor authored Sep 21, 2017
1 parent 00168a0 commit 5c427a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = @('# <img src="" width="48" height="48"/> [{0}](https://chocolatey.org/packages/{0})' -f $package.Name, '')
$readme = @('# <img src="{1}" width="48" height="48"/> [{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
}
Expand Down

0 comments on commit 5c427a4

Please sign in to comment.