Revert "Better Image handling (#2665)"

This reverts commit 5059b93cd7.
This commit is contained in:
Chris Titus
2024-09-11 11:40:34 -05:00
committed by GitHub
parent 8e5fcceddb
commit 1da39b1717
8 changed files with 181 additions and 225 deletions

View File

@ -51,9 +51,6 @@ function Invoke-WPFShortcut {
$Shortcut = $WshShell.CreateShortcut($FileBrowser.FileName)
$Shortcut.TargetPath = $shell
$Shortcut.Arguments = $shellArgs
if (-NOT (Test-Path -Path $winutildir["logo.ico"])) {
Invoke-WebRequest -Uri "https://christitus.com/images/logo-full.ico" -OutFile $winutildir["logo.ico"]
}
if (Test-Path -Path $winutildir["logo.ico"]) {
$shortcut.IconLocation = $winutildir["logo.ico"]
}