Skip to content

Commit 7cbf564

Browse files
committed
Fix steam icons having an invalid path
1 parent 2cd76b8 commit 7cbf564

File tree

1 file changed

+1
-1
lines changed
  • src/UniGetUI.PackageEngine.PackageManagerClasses/Packages

1 file changed

+1
-1
lines changed

src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/Package.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public Package(
102102
{
103103
"Winget" => Source.Name switch
104104
{
105-
"Steam" => id.ToLower().Split("\\")[^1].Replace("steam app ", "steam:").Trim(),
105+
"Steam" => id.ToLower().Split("\\")[^1].Replace("steam app ", "steam-").Trim(),
106106
"Local PC" => id.ToLower().Split("\\")[^1],
107107
"Microsoft Store" => id.IndexOf('_') < id.IndexOf('.') ? // If the first underscore is before the period, this ID has no publisher
108108
string.Join('_', id.ToLower().Split("\\")[1].Split("_")[0..^4]) : // no publisher: remove `MSIX\`, then the standard ending _version_arch__{random id}

0 commit comments

Comments
 (0)