From e7921db339b0095a0e9d824cca64faea7d8d2052 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 18 Aug 2024 15:53:54 +0800 Subject: [PATCH] fix: can not open app dir on macOS --- src/Native/MacOS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Native/MacOS.cs b/src/Native/MacOS.cs index 4fc9998c..e034c674 100644 --- a/src/Native/MacOS.cs +++ b/src/Native/MacOS.cs @@ -53,7 +53,7 @@ namespace SourceGit.Native { if (Directory.Exists(path)) { - Process.Start("open", path); + Process.Start("open", $"\"{path}\""); } else if (File.Exists(path)) {