Skip to content

Commit

Permalink
chore: use DownloadFile instead of a script
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Oct 8, 2024
1 parent 64d89d6 commit 1dfa824
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 9 additions & 2 deletions src/AddIns/Uno.WinUI.Graphics3DGL/Uno.WinUI.Graphics3DGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,15 @@
<DefaultItemExcludes>$(DefaultItemExcludes);angle/**</DefaultItemExcludes>
</PropertyGroup>

<Target Name="BuildAngle" BeforeTargets="CoreCompile">
<Exec Command="$(MSBuildThisFileDirectory)/get_angle_binaries.sh" WorkingDirectory="$(MSBuildThisFileDirectory)" />
<Target Name="GetAngle" BeforeTargets="CoreCompile">
<DownloadFile
SourceUrl="https://github.com/dotnet/Silk.NET/raw/a9c75a61528ee7b4e55442f5141cb132f10d72ff/src/Native/Silk.NET.OpenGLES.ANGLE.Native/runtimes/osx/native/libEGL.dylib"
DestinationFolder="$(MSBuildThisFileDirectory)angle_binaries/osx">
</DownloadFile>
<DownloadFile
SourceUrl="https://github.com/dotnet/Silk.NET/raw/a9c75a61528ee7b4e55442f5141cb132f10d72ff/src/Native/Silk.NET.OpenGLES.ANGLE.Native/runtimes/osx/native/libGLESv2.dylib"
DestinationFolder="$(MSBuildThisFileDirectory)angle_binaries/osx">
</DownloadFile>
</Target>

<ItemGroup>
Expand Down
8 changes: 0 additions & 8 deletions src/AddIns/Uno.WinUI.Graphics3DGL/get_angle_binaries.sh

This file was deleted.

0 comments on commit 1dfa824

Please sign in to comment.