Port N00BS to linux

This commit is contained in:
Li 2022-07-25 19:16:21 +12:00
parent 64fed1c6c4
commit 8297c56f21
181 changed files with 282 additions and 132 deletions

4
HorseIsleServer/MPN00BS/LoadingWindow.axaml.cs Normal file → Executable file
View file

@ -38,6 +38,7 @@ namespace MPN00BS
Dispatcher.UIThread.InvokeAsync(() =>
{
ServerStarter.CloseHorseIsleClient();
ServerStarter.ShutdownHTTPServer();
this.Close();
});
}
@ -52,9 +53,6 @@ namespace MPN00BS
public LoadingWindow()
{
InitializeComponent();
#if DEBUG
this.AttachDevTools();
#endif
ServerStarter.StartHttpServer();
new Task( () => ServerStarter.StartHispServer(ProgressUpdate, OnNoUsersFound, OnServerStarted, OnShutdown)).Start();
}