mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2025-12-06 07:12:01 +01:00
29 lines
676 B
C#
29 lines
676 B
C#
|
|
using RTSSSharedMemoryNET;
|
||
|
|
|
||
|
|
namespace PerformanceOverlay
|
||
|
|
{
|
||
|
|
internal static class Program
|
||
|
|
{
|
||
|
|
[STAThread]
|
||
|
|
static void Main()
|
||
|
|
{
|
||
|
|
ApplicationConfiguration.Initialize();
|
||
|
|
|
||
|
|
try
|
||
|
|
{
|
||
|
|
foreach (var entry in RTSSSharedMemoryNET.OSD.GetOSDEntries())
|
||
|
|
{
|
||
|
|
Console.WriteLine("Entry: {0}", entry.Owner);
|
||
|
|
Console.WriteLine("\t", entry.Text);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
catch(SystemException)
|
||
|
|
{ }
|
||
|
|
|
||
|
|
using (var controller = new Controller())
|
||
|
|
{
|
||
|
|
Application.Run();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|