Skip to content

Commit

Permalink
Merge pull request ExOK#66 from theofficialgman/main
Browse files Browse the repository at this point in the history
set PlatformTarget
  • Loading branch information
NoelFB authored Feb 6, 2024
2 parents bfc7a3b + b89aaac commit 7f3d3cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Celeste64.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64;ARM64;ARM</Platforms>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down Expand Up @@ -31,12 +30,18 @@
<IsMacOS>true</IsMacOS>
</PropertyGroup>

<PropertyGroup Condition="($(RuntimeIdentifier) == '' and $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'x64') or $(RuntimeIdentifier.EndsWith('x64'))">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<PropertyGroup Condition="($(RuntimeIdentifier) == '' and $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'Arm64') or $(RuntimeIdentifier.EndsWith('arm64'))">
<IsArm64>true</IsArm64>
<PlatformTarget>ARM64</PlatformTarget>
</PropertyGroup>

<PropertyGroup Condition="($(RuntimeIdentifier) == '' and $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'Arm') or $(RuntimeIdentifier.EndsWith('arm'))">
<IsArm>true</IsArm>
<PlatformTarget>ARM</PlatformTarget>
</PropertyGroup>

<ItemGroup Condition="$(IsLinux) == 'true' and $(IsArm64) == 'true'">
Expand Down

0 comments on commit 7f3d3cb

Please sign in to comment.