diff --git a/appveyor.yml b/appveyor.yml index f362c0596..d48164bae 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -75,7 +75,7 @@ after_test: # Until https://github.com/dotnet/cli/issues/3267 happens, we'll hack dotnet binary icon on Windows and include .ico file on other platforms if (Test-Path -Path "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm.exe" -PathType Leaf) { tools\rcedit\rcedit-x64.exe "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm.exe" --set-icon 'resources\ASF.ico' - } elseif (Test-Path -Path "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm" -PathType Leaf) { + } else { Copy-Item 'resources\ASF.ico' -Destination "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm.ico" }