mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-03-23 02:14:14 -05:00
31 lines
680 B
C#
31 lines
680 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.ServiceProcess;
|
|
using System.Text;
|
|
|
|
namespace PkmnFoundations.GlobalTerminalService
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
static void Main()
|
|
{
|
|
#if DEBUG
|
|
Service1 myService = new Service1();
|
|
myService.Start();
|
|
while (true) { }
|
|
#else
|
|
ServiceBase[] ServicesToRun;
|
|
ServicesToRun = new ServiceBase[]
|
|
{
|
|
new Service1()
|
|
};
|
|
ServiceBase.Run(ServicesToRun);
|
|
#endif
|
|
}
|
|
}
|
|
}
|