mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Add cefsharp libs
This commit is contained in:
parent
9a6d93524c
commit
8c79b795e1
@ -22,17 +22,17 @@ namespace Wabbajack.Lib.LibCefHelpers
|
||||
/// </summary>
|
||||
private static async Task ExtractLibs()
|
||||
{
|
||||
if (File.Exists("cefglue.7z") && File.Exists("libcef.dll")) return;
|
||||
if (File.Exists("cefsharp.7z") && File.Exists("libcef.dll")) return;
|
||||
|
||||
using (var fs = File.OpenWrite("cefglue.7z"))
|
||||
using (var rs = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.Lib.LibCefHelpers.cefglue.7z"))
|
||||
using (var fs = File.OpenWrite("cefsharp.7z"))
|
||||
using (var rs = Assembly.GetExecutingAssembly().GetManifestResourceStream("Wabbajack.Lib.LibCefHelpers.cefsharp.7z"))
|
||||
{
|
||||
rs.CopyTo(fs);
|
||||
Utils.Log("Extracting libCef files");
|
||||
}
|
||||
using (var wq = new WorkQueue(1))
|
||||
{
|
||||
await FileExtractor.ExtractAll(wq, "cefglue.7z", ".");
|
||||
await FileExtractor.ExtractAll(wq, "cefsharp.7z", ".");
|
||||
}
|
||||
}
|
||||
|
||||
|
Binary file not shown.
@ -164,7 +164,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<EmbeddedResource Include="LibCefHelpers\cefglue.7z" />
|
||||
<EmbeddedResource Include="LibCefHelpers\cefsharp.7z" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(SolutionDir)\Compression.BSA\Compression.BSA.csproj">
|
||||
|
Loading…
Reference in New Issue
Block a user