Add conditional to cef downloader

This commit is contained in:
Timothy Baldridge 2021-10-01 06:43:35 -06:00
parent 3180678a87
commit e4582ebde3

View File

@ -47,7 +47,7 @@
</Compile>
</ItemGroup>
<Target Name="AferBuild" AfterTargets="Build">
<Target Name="AferBuild" AfterTargets="Build" Condition="!Exists('$(ProjectDir)$(OutDir)libcef.dll')">
<Message Text="Downloading Cef" />
<Exec Command="dotnet run --project $(ProjectDir)../Wabbajack.CLI/Wabbajack.CLI.csproj -- download-cef -f $(ProjectDir)$(OutDir)" />
</Target>