This commit is contained in:
Enner Pérez 2024-04-27 02:12:12 -05:00
parent 53beb3daac
commit fe2abee21d

View file

@ -57,7 +57,7 @@ namespace SourceGit.Native
var finder = new Models.ExternalToolsFinder();
finder.VSCode(() => FindExecutable("code"));
finder.VSCodeInsiders(() => FindExecutable("code-insiders"));
finder.Fleet(FindJetBrainFleet);
finder.Fleet(FindJetBrainsFleet);
finder.FindJetBrainsFromToolbox(() => $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}/JetBrains/Toolbox/apps");
finder.SublimeText(() => FindExecutable("subl"));
return finder.Founded;
@ -175,7 +175,7 @@ namespace SourceGit.Native
return null;
}
private string FindJetBrainFleet()
private string FindJetBrainsFleet()
{
var path = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}/JetBrains/Toolbox/apps/fleet/bin/Fleet";
return File.Exists(path) ? path : FindExecutable("fleet");