Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diversify Icon Detection (Icons for Steam, Local PC, and Microsoft Store Applications) #3189

Merged
merged 8 commits into from
Jan 17, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public Package(
"Scoop" => id.ToLower().Replace(".app", ""),
"Chocolatey" => id.ToLower().Replace(".install", "").Replace(".portable", ""),
"vcpkg" => id.ToLower().Split(":")[0].Split("[")[0],
"Steam" => id.ToLower().Split("\\")[^1].Replace("Steam App", "steam:"),
"Local PC" => id.ToLower().Split("\\")[^1],
"Microsoft Store" => id.ToLower().Split(".")[1].Split("_")[0],
_ => id.ToLower()
};
}
Expand Down
Loading