From 652ea6368c23d7db1660381b48327ccc9c1c7126 Mon Sep 17 00:00:00 2001 From: Gabi <218829269+GabiNun2@users.noreply.github.com> Date: Mon, 22 Jun 2026 12:27:16 -0700 Subject: [PATCH] Removed useless logic from main.ps1 (#4706) --- scripts/main.ps1 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 2452e92a..63e2aa46 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -420,12 +420,7 @@ $sync["Form"].Add_Loaded({ $NavLogoPanel = $sync["Form"].FindName("NavLogoPanel") $NavLogoPanel.Children.Add((Invoke-WinUtilAssets -Type "logo" -Size 25)) | Out-Null - -if (Test-Path "$winutildir\logo.ico") { - $sync["logorender"] = "$winutildir\logo.ico" -} else { - $sync["logorender"] = (Invoke-WinUtilAssets -Type "Logo" -Size 90 -Render) -} +$sync["logorender"] = (Invoke-WinUtilAssets -Type "Logo" -Size 90 -Render) $sync["checkmarkrender"] = (Invoke-WinUtilAssets -Type "checkmark" -Size 512 -Render) $sync["warningrender"] = (Invoke-WinUtilAssets -Type "warning" -Size 512 -Render)