Browse Source

Copy AppIcon to output on macos

pull/438/head
ionite34 11 months ago
parent
commit
2c32a1c43f
No known key found for this signature in database
GPG Key ID: B3404C5F3827849B
  1. 7
      StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj

7
StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj

@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<CFBundleName>Stability Matrix</CFBundleName>
<CFBundleIconFile>Assets/AppIcon.icns</CFBundleIconFile>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers>
@ -138,6 +139,12 @@
<!-- Only for osx-arm64 -->
<AvaloniaResource Include="Assets\macos-arm64\**" Condition="'$(RuntimeIdentifier)' == 'osx-arm64'" />
</ItemGroup>
<ItemGroup>
<None Update="Assets\AppIcon.icns" Condition="'$(RuntimeIdentifier)' == 'osx-arm64'">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Languages\Resources.resx">

Loading…
Cancel
Save