fix<*>: open explore exception on .NET 5.0

This commit is contained in:
leo 2020-11-17 12:41:51 +08:00
parent 24b175c331
commit 1a719a464e
3 changed files with 4 additions and 4 deletions

View file

@ -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;
};