This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
using System.Collections.Generic;
using System.Linq;
namespace VibranceHud.Games;
public sealed record SupportedGame(string Id, string DisplayName, int SteamAppId, string InstallFolder, string ProcessName, string? EpicAppName = null, IReadOnlyList<string>? AlsoProcessNames = null)
{
public IReadOnlyList<string> AllProcessNames
{
get
{
if (AlsoProcessNames == null || AlsoProcessNames.Count == 0)
{
return new string[1] { ProcessName };
}
return new string[1] { ProcessName }.Concat(AlsoProcessNames).ToArray();
}
}
}