mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
add notes
This commit is contained in:
parent
af39f43cec
commit
e8de029483
@ -172,7 +172,8 @@ function Invoke-WPFUIElements {
|
|||||||
$image.Height = 40
|
$image.Height = 40
|
||||||
$image.Margin = New-Object Windows.Thickness(0, 0, 10, 0)
|
$image.Margin = New-Object Windows.Thickness(0, 0, 10, 0)
|
||||||
$image.Source = $noimage
|
$image.Source = $noimage
|
||||||
if (-not [string]::IsNullOrEmpty($kaka)) {
|
# TODO: use UniGetUI's image db as a fallback
|
||||||
|
if (-not [string]::IsNullOrEmpty($kaka)) { # replace kaka with $entryInfo.choco to get images, takes a lot longer but works for many packages
|
||||||
try {
|
try {
|
||||||
$packageinfo = (choco info $entryInfo.choco --limit-output).Split(' ')[0]
|
$packageinfo = (choco info $entryInfo.choco --limit-output).Split(' ')[0]
|
||||||
$packageinfo = $packageinfo -replace '\|', '.'
|
$packageinfo = $packageinfo -replace '\|', '.'
|
||||||
|
Loading…
Reference in New Issue
Block a user