Mac: Partial fix for build issue

Mac RuntimeIdentifiers is only relevant when actually building/publishing on Mac. There's some kind of bug (race condition) is msbuild that it triggers which is still an issue on Mac for now, but there's no need to bother with it on other platforms.
This commit is contained in:
Ben Olden-Cooligan 2023-11-26 14:14:17 -08:00
parent 7e3dcbdd79
commit 7284eedc9f

View File

@ -7,7 +7,7 @@
<AssemblyName>NAPS2</AssemblyName>
<ApplicationIcon>../NAPS2.Lib/Icons/favicon.ico</ApplicationIcon>
<RuntimeIdentifiers>osx-x64;osx-arm64</RuntimeIdentifiers>
<RuntimeIdentifiers Condition="$([MSBuild]::IsOSPlatform('OSX'))">osx-x64;osx-arm64</RuntimeIdentifiers>
<Title>NAPS2 - Not Another PDF Scanner</Title>
<Product>NAPS2 - Not Another PDF Scanner</Product>