We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88b6390 commit a7d7bcdCopy full SHA for a7d7bcd
UnityMcpBridge/Editor/Windows/ManualConfigEditorWindow.cs
@@ -116,10 +116,13 @@ protected virtual void OnGUI()
116
{
117
displayPath = mcpClient.windowsConfigPath;
118
}
119
- else if (
120
- RuntimeInformation.IsOSPlatform(OSPlatform.OSX)
121
- || RuntimeInformation.IsOSPlatform(OSPlatform.Linux)
122
- )
+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
+ {
+ displayPath = string.IsNullOrEmpty(mcpClient.macConfigPath)
+ ? mcpClient.linuxConfigPath
123
+ : mcpClient.macConfigPath;
124
+ }
125
+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
126
127
displayPath = mcpClient.linuxConfigPath;
128
0 commit comments