fix RiderPathLocator - searching for toolbox on Mac

This commit is contained in:
Ivan.Shakhov 2020-03-18 09:23:29 +01:00
parent 98cdf50a55
commit dc16b8742a
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ namespace GodotTools.Ides.Rider
private static string GetToolboxRiderRootPath(string localAppData) private static string GetToolboxRiderRootPath(string localAppData)
{ {
var toolboxPath = Path.Combine(localAppData, @"JetBrains\Toolbox"); var toolboxPath = Path.Combine(localAppData, @"JetBrains/Toolbox");
var settingsJson = Path.Combine(toolboxPath, ".settings.json"); var settingsJson = Path.Combine(toolboxPath, ".settings.json");
if (File.Exists(settingsJson)) if (File.Exists(settingsJson))
@ -172,7 +172,7 @@ namespace GodotTools.Ides.Rider
toolboxPath = path; toolboxPath = path;
} }
var toolboxRiderRootPath = Path.Combine(toolboxPath, @"apps\Rider"); var toolboxRiderRootPath = Path.Combine(toolboxPath, @"apps/Rider");
return toolboxRiderRootPath; return toolboxRiderRootPath;
} }