Unify $winutildir (#4004)

This commit is contained in:
KamaleiZestri
2026-02-10 14:14:20 -06:00
committed by GitHub
parent 681f0ec3b9
commit 8a8fed517c
4 changed files with 9 additions and 11 deletions

View File

@@ -425,12 +425,6 @@ $sync["Form"].Add_Loaded({
$NavLogoPanel = $sync["Form"].FindName("NavLogoPanel")
$NavLogoPanel.Children.Add((Invoke-WinUtilAssets -Type "logo" -Size 25)) | Out-Null
# Initialize the hashtable
$winutildir = @{}
# Set the path for the winutil directory
$winutildir = "$env:LocalAppData\winutil\"
New-Item $winutildir -ItemType Directory -Force | Out-Null
if (Test-Path "$winutildir\logo.ico") {
$sync["logorender"] = "$winutildir\logo.ico"