Skip to content

Commit

Permalink
Fix native dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed Jan 14, 2024
1 parent 35d1ebd commit a6d8593
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<Description>Provides the dynamic library files for Opus.</Description>
<PackageTags>discord, discord-bot, discord-api, dsharpplus, discord-voice, dsharpplus-voicenext</PackageTags>
<Authors>OoLunar, InFTord, Aaron2550</Authors>
<IsPackable>true</IsPackable>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<Content Include="$(ProjectRoot)/libs/libopus/*" Pack="true" PackagePath="runtimes/$(TargetFramework)/native" />
<Content Include="$(ProjectRoot)/libs/libopus/*" CopyToOutputDirectory="Always" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<IsPackable>true</IsPackable>
</PropertyGroup>
<ItemGroup>
<Content Include="$(ProjectRoot)/libs/libsodium/libsodium.so" Pack="true" PackagePath="lib/$(TargetFramework)/libsodium.so" />
<Content Include="$(ProjectRoot)/libs/libsodium/*" CopyToOutputDirectory="Always" />
</ItemGroup>
</Project>
4 changes: 1 addition & 3 deletions src/DSharpPlus.VoiceLink/DSharpPlus.VoiceLink.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<IsPackable>true</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(ProjectRoot)/libs/DSharpPlus/DSharpPlus/DSharpPlus.csproj" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
Expand All @@ -20,7 +21,4 @@
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(ProjectRoot)/libs/DSharpPlus/DSharpPlus/DSharpPlus.csproj" />
</ItemGroup>
</Project>

0 comments on commit a6d8593

Please sign in to comment.