mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Adds unit tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.ServiceProcess;
|
||||
|
||||
namespace TGServerService
|
||||
{
|
||||
@@ -9,7 +10,10 @@ namespace TGServerService
|
||||
/// <summary>
|
||||
/// Entry point to the program
|
||||
/// </summary>
|
||||
static void Main() => Service.Launch();
|
||||
static void Main() {
|
||||
using (var S = new Service())
|
||||
ServiceBase.Run(S);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Copy a file from <paramref name="source"/> to <paramref name="dest"/>, but first ensure the destination directory exists
|
||||
|
||||
Reference in New Issue
Block a user