Editor: on macOS, prefer macConfigPath in ManualConfigEditorWindow (fallback to linux path); Linux/Windows unchanged.
parent
88b6390359
commit
a7d7bcdc42
|
|
@ -116,10 +116,13 @@ namespace MCPForUnity.Editor.Windows
|
||||||
{
|
{
|
||||||
displayPath = mcpClient.windowsConfigPath;
|
displayPath = mcpClient.windowsConfigPath;
|
||||||
}
|
}
|
||||||
else if (
|
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||||
RuntimeInformation.IsOSPlatform(OSPlatform.OSX)
|
{
|
||||||
|| RuntimeInformation.IsOSPlatform(OSPlatform.Linux)
|
displayPath = string.IsNullOrEmpty(mcpClient.macConfigPath)
|
||||||
)
|
? mcpClient.linuxConfigPath
|
||||||
|
: mcpClient.macConfigPath;
|
||||||
|
}
|
||||||
|
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
||||||
{
|
{
|
||||||
displayPath = mcpClient.linuxConfigPath;
|
displayPath = mcpClient.linuxConfigPath;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue