Initial commit
This commit is contained in:
28
Server/Program.cs
Normal file
28
Server/Program.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace CoopServer
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
Console.Title = "GTACoop:R Server";
|
||||
|
||||
if (File.Exists("log.txt"))
|
||||
{
|
||||
File.WriteAllText("log.txt", string.Empty);
|
||||
}
|
||||
|
||||
_ = new Server();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logging.Error(e.ToString());
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user