Skip to content

Commit

Permalink
[CI] Add missing Program script resources;
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleCodingFox committed Mar 17, 2024
1 parent 643c1f1 commit 3870811
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Staging/Player Backends/Linux/Resources/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;

namespace Staple
{
static class Program
{
public static void Main(string[] args)
{
Console.WriteLine($"Staple: Registering type cache");

TypeCacheRegistration.RegisterAll();

Console.WriteLine($"Staple: Registered {TypeCache.AllTypes().Length} types");

StaplePlayer.Run(args);
}
}
}
18 changes: 18 additions & 0 deletions Staging/Player Backends/MacOSX/Resources/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;

namespace Staple
{
static class Program
{
public static void Main(string[] args)
{
Console.WriteLine($"Staple: Registering type cache");

TypeCacheRegistration.RegisterAll();

Console.WriteLine($"Staple: Registered {TypeCache.AllTypes().Length} types");

StaplePlayer.Run(args);
}
}
}
18 changes: 18 additions & 0 deletions Staging/Player Backends/Windows/Resources/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;

namespace Staple
{
static class Program
{
public static void Main(string[] args)
{
Console.WriteLine($"Staple: Registering type cache");

TypeCacheRegistration.RegisterAll();

Console.WriteLine($"Staple: Registered {TypeCache.AllTypes().Length} types");

StaplePlayer.Run(args);
}
}
}

0 comments on commit 3870811

Please sign in to comment.