From e8de029483563d3cea3c23dc04c5f2d88b9d8d96 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Sat, 28 Sep 2024 02:21:12 +0200 Subject: [PATCH] add notes --- functions/public/Invoke-WPFUIElements.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index cf0a181f..a617acff 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -172,7 +172,8 @@ function Invoke-WPFUIElements { $image.Height = 40 $image.Margin = New-Object Windows.Thickness(0, 0, 10, 0) $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 { $packageinfo = (choco info $entryInfo.choco --limit-output).Split(' ')[0] $packageinfo = $packageinfo -replace '\|', '.'