mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Install cef in .App.Test
This commit is contained in:
parent
89114cab05
commit
ecdf33df2a
@ -24,4 +24,9 @@
|
|||||||
<ProjectReference Include="..\Wabbajack.App\Wabbajack.App.csproj"/>
|
<ProjectReference Include="..\Wabbajack.App\Wabbajack.App.csproj"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -33,9 +33,8 @@ public class CompilerSanityTests : IAsyncLifetime
|
|||||||
|
|
||||||
public CompilerSanityTests(ILogger<CompilerSanityTests> logger, IServiceProvider serviceProvider,
|
public CompilerSanityTests(ILogger<CompilerSanityTests> logger, IServiceProvider serviceProvider,
|
||||||
FileExtractor.FileExtractor fileExtractor,
|
FileExtractor.FileExtractor fileExtractor,
|
||||||
TemporaryFileManager manager, ParallelOptions parallelOptions, LoggingRateLimiterReporter reporter)
|
TemporaryFileManager manager, ParallelOptions parallelOptions)
|
||||||
{
|
{
|
||||||
_reporter = reporter;
|
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_scope = _serviceProvider.CreateScope();
|
_scope = _serviceProvider.CreateScope();
|
||||||
|
@ -19,7 +19,7 @@ public class DownloaderTests
|
|||||||
private readonly DownloadDispatcher _dispatcher;
|
private readonly DownloadDispatcher _dispatcher;
|
||||||
private readonly TemporaryFileManager _temp;
|
private readonly TemporaryFileManager _temp;
|
||||||
|
|
||||||
public DownloaderTests(DownloadDispatcher dispatcher, TemporaryFileManager temp, LoggingRateLimiterReporter _)
|
public DownloaderTests(DownloadDispatcher dispatcher, TemporaryFileManager temp)
|
||||||
{
|
{
|
||||||
_temp = temp;
|
_temp = temp;
|
||||||
_dispatcher = dispatcher;
|
_dispatcher = dispatcher;
|
||||||
|
Loading…
Reference in New Issue
Block a user