Skip to content

Commit

Permalink
Merge pull request #3189 from mrixner/improve-icon-detection
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment authored Jan 17, 2025
2 parents 39feec4 + 8668eac commit 1e85b85
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 1e85b85

Please sign in to comment.