fix: IntelliJ IDEA Ultimate and IntelliJ IDEA Community fallbacks to JetBrains common icon (#279)

This commit is contained in:
leo 2024-07-23 12:07:39 +08:00
parent ef0cf76571
commit d4b262248a
No known key found for this signature in database

View file

@ -128,7 +128,7 @@ namespace SourceGit.Models
public void FindJetBrainsFromToolbox(Func<string> platformFinder) public void FindJetBrainsFromToolbox(Func<string> platformFinder)
{ {
var exclude = new List<string> { "fleet", "dotmemory", "dottrace", "resharper-u", "androidstudio" }; var exclude = new List<string> { "fleet", "dotmemory", "dottrace", "resharper-u", "androidstudio" };
var supported_icons = new List<string> { "CL", "DB", "DL", "DS", "GO", "IC", "IU", "JB", "PC", "PS", "PY", "QA", "QD", "RD", "RM", "RR", "WRS", "WS" }; var supported_icons = new List<string> { "CL", "DB", "DL", "DS", "GO", "JB", "PC", "PS", "PY", "QA", "QD", "RD", "RM", "RR", "WRS", "WS" };
var state = Path.Combine(platformFinder(), "state.json"); var state = Path.Combine(platformFinder(), "state.json");
if (File.Exists(state)) if (File.Exists(state))
{ {