17 lines
353 B
C#
17 lines
353 B
C#
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using CringeLauncher;
|
|
using VRage.Serialization;
|
|
|
|
#if DEBUG
|
|
while (!Debugger.IsAttached)
|
|
Thread.Sleep(100);
|
|
#endif
|
|
|
|
// harmony is fun
|
|
RuntimeHelpers.RunClassConstructor(typeof(MyFactory).TypeHandle);
|
|
|
|
using var launcher = new Launcher();
|
|
|
|
launcher.Initialize(args);
|
|
launcher.Run(); |