upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user