Files
linker/linker.service/Program.cs
snltty 33a9cfedc5 sync
2024-06-24 23:06:29 +08:00

25 lines
556 B
C#

using System.ServiceProcess;
namespace linker.service
{
internal class Program
{
static void Main(string[] args)
{
AppDomain.CurrentDomain.UnhandledException += (a, b) =>
{
};
if (OperatingSystem.IsWindows())
{
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
{
new LinkerService(args)
};
ServiceBase.Run(ServicesToRun);
}
}
}
}