feature: add a menu item to open app data dir

This commit is contained in:
leo 2024-08-15 11:47:04 +08:00
parent 0c6af27b40
commit ff3d841d12
No known key found for this signature in database
6 changed files with 14 additions and 0 deletions

View file

@ -109,6 +109,11 @@ namespace SourceGit
dialog.ShowDialog(toplevel);
});
public static readonly SimpleCommand OpenAppDataDirCommand = new SimpleCommand(() =>
{
Native.OS.OpenInFileManager(Native.OS.DataDir);
});
public static readonly SimpleCommand OpenAboutCommand = new SimpleCommand(() =>
{
var toplevel = GetTopLevel() as Window;