Skip to content

Commit c46a51e

Browse files
committed
update props
1 parent 3a0180b commit c46a51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FFMpeg.runtime.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Copy SourceFiles="@(ANTLR)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" />
88
</Target>
99

10-
<Target Name="CopyPublisWindows" AfterTargets="Publish" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">
10+
<Target Name="CopyPublisWindows" AfterTargets="Publish" Condition="'$(RuntimeIdentifier)' == 'win-x64'">
1111
<ItemGroup>
1212
<ANTLR Include="$(MSBuildThisFileDirectory)..\..\builds\win-x64\*.dll" />
1313
</ItemGroup>
@@ -21,7 +21,7 @@
2121
<Copy SourceFiles="@(ANTLR)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" />
2222
</Target>
2323

24-
<Target Name="CopyPublisLinux" AfterTargets="Publish" Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">
24+
<Target Name="CopyPublisLinux" AfterTargets="Publish" Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
2525
<ItemGroup>
2626
<ANTLR Include="$(MSBuildThisFileDirectory)..\..\builds\linux-x64\*.so*" />
2727
</ItemGroup>

0 commit comments

Comments
 (0)