mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-10 01:51:18 +10:00
Removed useless logic from main.ps1 (#4706)
This commit is contained in:
+1
-6
@@ -420,12 +420,7 @@ $sync["Form"].Add_Loaded({
|
|||||||
$NavLogoPanel = $sync["Form"].FindName("NavLogoPanel")
|
$NavLogoPanel = $sync["Form"].FindName("NavLogoPanel")
|
||||||
$NavLogoPanel.Children.Add((Invoke-WinUtilAssets -Type "logo" -Size 25)) | Out-Null
|
$NavLogoPanel.Children.Add((Invoke-WinUtilAssets -Type "logo" -Size 25)) | Out-Null
|
||||||
|
|
||||||
|
$sync["logorender"] = (Invoke-WinUtilAssets -Type "Logo" -Size 90 -Render)
|
||||||
if (Test-Path "$winutildir\logo.ico") {
|
|
||||||
$sync["logorender"] = "$winutildir\logo.ico"
|
|
||||||
} else {
|
|
||||||
$sync["logorender"] = (Invoke-WinUtilAssets -Type "Logo" -Size 90 -Render)
|
|
||||||
}
|
|
||||||
$sync["checkmarkrender"] = (Invoke-WinUtilAssets -Type "checkmark" -Size 512 -Render)
|
$sync["checkmarkrender"] = (Invoke-WinUtilAssets -Type "checkmark" -Size 512 -Render)
|
||||||
$sync["warningrender"] = (Invoke-WinUtilAssets -Type "warning" -Size 512 -Render)
|
$sync["warningrender"] = (Invoke-WinUtilAssets -Type "warning" -Size 512 -Render)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user