ux: remove 'JetBrains' prefix for all products of JetBrains

This commit is contained in:
leo 2024-04-27 22:35:27 +08:00
parent 71b9b3dfea
commit 8786297d85

View file

@ -128,7 +128,7 @@ namespace SourceGit.Models
public void Fleet(Func<string> platform_finder) public void Fleet(Func<string> platform_finder)
{ {
TryAdd("JetBrains Fleet", "fleet", "\"{0}\"", "FLEET_PATH", platform_finder); TryAdd("Fleet", "fleet", "\"{0}\"", "FLEET_PATH", platform_finder);
} }
public void SublimeText(Func<string> platform_finder) public void SublimeText(Func<string> platform_finder)
@ -151,7 +151,7 @@ namespace SourceGit.Models
Founded.Add(new ExternalTool Founded.Add(new ExternalTool
{ {
Name = $"JetBrains {tool.DisplayName} {tool.DisplayVersion}", Name = $"{tool.DisplayName} {tool.DisplayVersion}",
Icon = supported_icons.Contains(tool.ProductCode) ? $"JetBrains/{tool.ProductCode}" : $"JetBrains/JB", Icon = supported_icons.Contains(tool.ProductCode) ? $"JetBrains/{tool.ProductCode}" : $"JetBrains/JB",
OpenCmdArgs = "\"{0}\"", OpenCmdArgs = "\"{0}\"",
Executable = Path.Combine(tool.InstallLocation, tool.LaunchCommand), Executable = Path.Combine(tool.InstallLocation, tool.LaunchCommand),