add initial notice with instructions
Some checks failed
Build / Build Launcher (push) Failing after 8m41s

This commit is contained in:
zznty
2024-10-23 00:27:17 +07:00
parent 5556ebb523
commit 87965b44ee
5 changed files with 1780 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
using System.Diagnostics;
using System.Reflection;
using System.Runtime.Loader;
using System.Web;
using CringeBootstrap;
using CringeBootstrap.Abstractions;
using Velopack;
@@ -12,6 +13,25 @@ while (!Debugger.IsAttached)
VelopackApp.Build().Run();
if (args.Length == 0)
{
var path = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CringeLauncher",
"current", "CringeBootstrap.exe");
Console.Write("Set your Launch Options under ");
Console.ForegroundColor = ConsoleColor.Cyan;
Console.Write("Space Engineers -> Properties -> Launch Options");
Console.ResetColor();
Console.WriteLine(" in steam and launch the game as usual");
Console.WriteLine();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Gray;
Console.WriteLine($"\"{path}\" %command%");
Console.ResetColor();
Console.Read();
return;
}
#if DEBUG
AssemblyLoadContext.Default.Resolving += (loadContext, name) =>
{