mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
feature: add a menu item to open app data dir
This commit is contained in:
parent
0c6af27b40
commit
ff3d841d12
6 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue