Skip to content

Commit 137e8d1

Browse files
committed
Add icon
1 parent fed3ac3 commit 137e8d1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ArchiSteamFarm/ArchiSteamFarm.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
</DocumentationFile>
5252
<Prefer32Bit>true</Prefer32Bit>
5353
</PropertyGroup>
54+
<PropertyGroup>
55+
<ApplicationIcon>cirno.ico</ApplicationIcon>
56+
</PropertyGroup>
5457
<ItemGroup>
5558
<Reference Include="HtmlAgilityPack, Version=1.4.9.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
5659
<HintPath>..\packages\HtmlAgilityPack.1.4.9\lib\Net45\HtmlAgilityPack.dll</HintPath>
@@ -108,15 +111,18 @@
108111
<Install>false</Install>
109112
</BootstrapperPackage>
110113
</ItemGroup>
114+
<ItemGroup>
115+
<Content Include="cirno.ico" />
116+
</ItemGroup>
111117
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
112118
<PropertyGroup>
113-
<PostBuildEvent>(robocopy $(ProjectDir)config $(TargetDir)config /S /E) ^&amp; IF %25ERRORLEVEL%25 GEQ 2 exit 0
119+
<PostBuildEvent Condition=" '$(OS)' != 'Unix' ">(robocopy $(ProjectDir)config $(TargetDir)config /S /E) ^&amp; IF %25ERRORLEVEL%25 GEQ 2 exit 0
114120

115121
if $(ConfigurationName) == Release (
116122
mkdir "$(TargetDir)out" "$(TargetDir)out\config"
117123
copy "$(TargetDir)config\example.xml" "$(TargetDir)out\config"
118124
"$(SolutionDir)tools\ILMerge.exe" /out:"$(TargetDir)out\ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" /target:exe /targetplatform:v4,C:\Windows\Microsoft.NET\Framework64\v4.0.30319 /wildcards
119-
DEL "$(TargetDir)out\ASF.pdb"
125+
del "$(TargetDir)out\ASF.pdb"
120126
)</PostBuildEvent>
121127
</PropertyGroup>
122128
<PropertyGroup>

ArchiSteamFarm/cirno.ico

361 KB
Binary file not shown.

0 commit comments

Comments
 (0)