Skip to content

Commit

Permalink
Remove the native pdfium.dll for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Dec 28, 2024
1 parent d5cf6e8 commit 9f74be0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
</ProjectReference>
</ItemGroup>

<Target Name="ReduceReleasePackaging" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<!-- Not support to ARM64 -->
<Delete Files="$(OutputPath)\arm64\pdfium.dll" Condition="Exists('$(OutputPath)\arm64\pdfium.dll')" />
<RemoveDir Directories="$(OutputPath)\arm64" Condition="Exists('$(OutputPath)\arm64')" />
</Target>

<ItemGroup>
<Resource Include="Resources\loading.png" />
</ItemGroup>
Expand Down

0 comments on commit 9f74be0

Please sign in to comment.