- use correct ctt blue color #0567ff
- remove unneeded comments
- rename Logoview to assets
This commit is contained in:
MyDrift
2024-09-03 21:41:16 +02:00
parent 7cb025621d
commit 4b741ce430
4 changed files with 8 additions and 11 deletions

View File

@ -446,7 +446,7 @@ $sync["Form"].Add_Loaded({
})
$NavLogoPanel = $sync["Form"].FindName("NavLogoPanel")
$NavLogoPanel.Children.Add((Invoke-WinUtilLogoviewbox -Type "logo" -Size 25)) | Out-Null
$NavLogoPanel.Children.Add((Invoke-WinUtilAssets -Type "logo" -Size 25)) | Out-Null
# Initialize the hashtable
$winutildir = @{}
@ -457,9 +457,6 @@ $winutildir["path"] = "$env:LOCALAPPDATA\winutil\"
$winutildir["logo.ico"] = $winutildir["path"] + "cttlogo.ico"
#$sync["Form"].Icon = [System.Drawing.Icon]::ExtractAssociatedIcon($winutildir["logo.ico"]).ToBitmap()
#$sync["logo.svg"] = [System.Drawing.Bitmap]::FromStream([System.IO.MemoryStream]::new([System.Convert]::FromBase64String($sync["icon.svg"])))
Set-WinUtilTaskbaritem -overlay "logo"
$sync["Form"].Add_Activated({