Skip to content

Commit

Permalink
New and cool app icon!
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-yagodin committed Sep 28, 2021
1 parent b87a1ac commit d258b3f
Show file tree
Hide file tree
Showing 8 changed files with 332 additions and 289 deletions.
4 changes: 2 additions & 2 deletions R7.Webmate.Xwt/Icons/IconHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public static Image GetAppIcon ()
{
// TODO: Handle possible exceptions
if (PlatformHelper.IsWindows ()) {
return Image.FromFile ("./resources/app-icons/r7-webmate-128px.png");
return Image.FromFile ("./resources/app-icons/r7-webmate-32px.png");
}
return Image.FromFile ("./resources/app-icons/r7-webmate-plain.svg");
return Image.FromFile ("./resources/app-icons/r7-webmate.svg");
}

public static string GetIconExtension ()
Expand Down
19 changes: 12 additions & 7 deletions R7.Webmate.Xwt/R7.Webmate.Xwt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="resources\app-icons\r7-webmate-128px.png">
<Content Include="resources\app-icons\r7-webmate-128px.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="resources\app-icons\r7-webmate-512px.png">
</Content>
<Content Include="resources\app-icons\r7-webmate-32px.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="resources\app-icons\r7-webmate-plain.svg">
</Content>
<Content Include="resources\app-icons\r7-webmate.svg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="resources\app-icons\r7-webmate-v1.svg" />
</Content>
<None Include="resources\locale\ru\LC_MESSAGES\R7.Webmate.Xwt.mo">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down Expand Up @@ -165,6 +164,12 @@
<Name>R7.Webmate</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="resources\app-icons\r7-webmate-64px.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="resources\app-icons\r7-webmate-src.svg" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="CopyBackendAssemblies">
<XmlPeek XmlInputPath="packages.config" Query="/packages/package[@id='Xwt']/@version">
Expand Down
Binary file modified R7.Webmate.Xwt/resources/app-icons/r7-webmate-128px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d258b3f

Please sign in to comment.