diff --git a/src/UI/Dashboard.xaml.cs b/src/UI/Dashboard.xaml.cs index c7bb21b1..810bfcdb 100644 --- a/src/UI/Dashboard.xaml.cs +++ b/src/UI/Dashboard.xaml.cs @@ -336,7 +336,7 @@ namespace SourceGit.UI { } private void OpenExplorer(object sender, RoutedEventArgs e) { - Process.Start(repo.Path); + Process.Start("explorer", repo.Path); } private void OpenTerminal(object sender, RoutedEventArgs e) { diff --git a/src/UI/Manager.xaml.cs b/src/UI/Manager.xaml.cs index 78ee129d..7359a89e 100644 --- a/src/UI/Manager.xaml.cs +++ b/src/UI/Manager.xaml.cs @@ -102,7 +102,7 @@ namespace SourceGit.UI { var explore = new MenuItem(); explore.Header = "Open Container Folder"; explore.Click += (o, ev) => { - Process.Start(repo.Path); + Process.Start("explorer", repo.Path); ev.Handled = true; }; @@ -303,7 +303,7 @@ namespace SourceGit.UI { var explore = new MenuItem(); explore.Header = "Open Container Folder"; explore.Click += (o, ev) => { - Process.Start(node.Id); + Process.Start("explorer", node.Id); ev.Handled = true; }; diff --git a/src/UI/WorkingCopy.xaml.cs b/src/UI/WorkingCopy.xaml.cs index 259af24f..5a4cb305 100644 --- a/src/UI/WorkingCopy.xaml.cs +++ b/src/UI/WorkingCopy.xaml.cs @@ -226,7 +226,7 @@ namespace SourceGit.UI { explore.Header = "Reveal in File Explorer"; explore.Click += (o, e) => { if (node.IsFile) Process.Start("explorer", $"/select,{path}"); - else Process.Start(path); + else Process.Start("explorer", path); e.Handled = true; };