Skip to content

Commit

Permalink
nice one
Browse files Browse the repository at this point in the history
  • Loading branch information
Govorunb committed Dec 22, 2024
1 parent 22e7f20 commit df7aa8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DesktopApp/Common/AppData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public sealed class AppData : ReactiveObjectBase, IAppData
public AppData()
{
App.ShutdownRequested += async (_, _) => await OnShutdown().ConfigureAwait(false); // waiting is futile
// ensure we have a folder in AppData/Local before SQLite tries to write there
Directory.CreateDirectory(_basePath);
}

private static string GetFullPath(string localPath)
Expand Down

0 comments on commit df7aa8e

Please sign in to comment.