Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 75e8bac

Browse files
Fixing the path in windows
1 parent 53858fb commit 75e8bac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/GitPathView.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ public override void OnGUI()
7474
if (!string.IsNullOrEmpty(newValue))
7575
{
7676
newGitExec = newValue;
77+
78+
if(Environment.IsWindows)
79+
{
80+
//Normalizing the path separator in windows
81+
newGitExec = newGitExec.ToNPath().ToString();
82+
}
7783
}
7884
}
7985
}

0 commit comments

Comments
 (0)