fix: can not open app dir on macOS

This commit is contained in:
leo 2024-08-18 15:53:54 +08:00
parent 2934ad72d4
commit e7921db339
No known key found for this signature in database

View file

@ -53,7 +53,7 @@ namespace SourceGit.Native
{ {
if (Directory.Exists(path)) if (Directory.Exists(path))
{ {
Process.Start("open", path); Process.Start("open", $"\"{path}\"");
} }
else if (File.Exists(path)) else if (File.Exists(path))
{ {