Skip to content

Commit

Permalink
Attempt to Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiroiame-Kusu committed Dec 2, 2024
1 parent e96567b commit e9111dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Kairo/Dashboard/Home.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ private async void CheckIsSignedTodayOrNot()

private void InitializeCustomComponents()
{
Directory.CreateDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "CEF"));
Cef.Initialize(new CefSettings()
{
BrowserSubprocessPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "CEF"),
//By default CefSharp will use an in-memory cache, you need to specify a Cache Folder to persist data
CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache"),
LogSeverity = LogSeverity.Verbose,
Expand Down
1 change: 0 additions & 1 deletion Kairo/Kairo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
<PackageReference Include="HandyControl" Version="3.4.0" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.61" />
<PackageReference Include="Markdig" Version="0.37.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" />
<PackageReference Include="RestSharp" Version="112.1.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
Expand Down

0 comments on commit e9111dd

Please sign in to comment.