Skip to content

Commit

Permalink
CefSharp VC Redist
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Oct 19, 2023
1 parent c26f789 commit 47d856a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Bundle/Sucrose.Bundle/Main.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ private static async Task InstallRedist()
string Command = $"/q /norestart";

#if X86
string Executable = Path.Combine(RedistPath, "x86.exe");
string Executable = Path.Combine(RedistPath, "VC_Redist_x86.exe");
#elif ARM64
string Executable = Path.Combine(RedistPath, "arm64.exe");
string Executable = Path.Combine(RedistPath, "VC_Redist_arm64.exe");
#else
string Executable = Path.Combine(RedistPath, "x64.exe");
string Executable = Path.Combine(RedistPath, "VC_Redist_x64.exe");
#endif

ProcessStartInfo Starter = new()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/Bundle/Sucrose.Bundle/Sucrose.Bundle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@
</ItemGroup>

<ItemGroup>
<EmbeddedResource Remove="Redist\x64.exe" Condition="'$(PlatformTarget)' != 'x64'" />
<EmbeddedResource Remove="Redist\x86.exe" Condition="'$(PlatformTarget)' != 'x86'" />
<EmbeddedResource Remove="Redist\arm64.exe" Condition="'$(PlatformTarget)' != 'arm64'" />
<EmbeddedResource Remove="Redist\VC_Redist_x64.exe" Condition="'$(PlatformTarget)' != 'x64'" />
<EmbeddedResource Remove="Redist\VC_Redist_x86.exe" Condition="'$(PlatformTarget)' != 'x86'" />
<EmbeddedResource Remove="Redist\VC_Redist_arm64.exe" Condition="'$(PlatformTarget)' != 'arm64'" />

<EmbeddedResource Remove="..\..\Sucrose\Package\$(TargetFramework)\$(Platform)\**\*.log" />
<EmbeddedResource Remove="..\..\Sucrose\Package\$(TargetFramework)\$(Platform)\**\*.txt" />
Expand Down

0 comments on commit 47d856a

Please sign in to comment.