Fix bundling of libvlc on macOS/Windows

This commit is contained in:
Pat Hartl 2026-06-07 11:45:02 -05:00
parent 0ee143cc73
commit ea37124f68

View file

@ -31,8 +31,8 @@
<PackageReference Include="PDFtoImage" />
<PackageReference Include="LibVLCSharp" />
<PackageReference Include="LibVLCSharp.Avalonia" />
<PackageReference Include="VideoLAN.LibVLC.Windows" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
<PackageReference Include="VideoLAN.LibVLC.Mac" Condition="$([MSBuild]::IsOSPlatform('OSX'))" />
<PackageReference Include="VideoLAN.LibVLC.Windows" Condition="$(RuntimeIdentifier.StartsWith('win')) OR ($([MSBuild]::IsOSPlatform('Windows')) AND '$(RuntimeIdentifier)' == '')" />
<PackageReference Include="VideoLAN.LibVLC.Mac" Condition="$(RuntimeIdentifier.StartsWith('osx')) OR ($([MSBuild]::IsOSPlatform('OSX')) AND '$(RuntimeIdentifier)' == '')" />
<PackageReference Include="ppy.SDL3-CS" />
</ItemGroup>