2017-01-06 18:49:28 +00:00
|
|
|
|
using System;
|
2017-01-10 20:36:03 +00:00
|
|
|
|
using System.Reflection;
|
2017-01-19 13:13:35 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2017-01-27 21:24:58 +00:00
|
|
|
|
using SBRL.Utilities;
|
2017-01-06 18:49:28 +00:00
|
|
|
|
|
2017-01-06 18:53:58 +00:00
|
|
|
|
namespace Nibriboard
|
2017-01-06 18:49:28 +00:00
|
|
|
|
{
|
|
|
|
|
class MainClass
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
2017-01-19 13:13:35 +00:00
|
|
|
|
Log.WriteLine("[core] Starting Nibriboard.");
|
|
|
|
|
|
|
|
|
|
Log.WriteLine("[core] Detected embedded files: ");
|
2017-01-10 20:36:03 +00:00
|
|
|
|
EmbeddedFiles.WriteResourceList();
|
2017-01-19 13:13:35 +00:00
|
|
|
|
|
|
|
|
|
NibriboardServer server = new NibriboardServer();
|
|
|
|
|
Task.WaitAll(
|
2017-07-20 12:15:11 +00:00
|
|
|
|
server.Start(),
|
|
|
|
|
server.StartCommandListener()
|
2017-01-19 13:13:35 +00:00
|
|
|
|
);
|
2017-01-06 18:49:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|