fix: wrong executable file name for Zed editor on Linux (#477)

This commit is contained in:
leo 2024-09-19 09:12:38 +08:00
parent e4870759f7
commit 33f9ae0cd6
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ namespace SourceGit.Native
finder.Fleet(FindJetBrainsFleet); finder.Fleet(FindJetBrainsFleet);
finder.FindJetBrainsFromToolbox(() => $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}/JetBrains/Toolbox"); finder.FindJetBrainsFromToolbox(() => $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}/JetBrains/Toolbox");
finder.SublimeText(() => FindExecutable("subl")); finder.SublimeText(() => FindExecutable("subl"));
finder.Zed(() => FindExecutable("zed")); finder.Zed(() => FindExecutable("zeditor"));
return finder.Founded; return finder.Founded;
} }