Headless in Avalonia, v1

It will get more advanced than this, this is for proof of concept.
This commit is contained in:
Evan Husted
2024-12-08 19:01:53 -06:00
committed by Evan Husted
parent 17233d30da
commit 8d47d0bbdb
4 changed files with 10 additions and 3 deletions

View File

@@ -55,6 +55,12 @@ namespace Ryujinx.Ava
Initialize(args);
if (args[0] is "--no-gui" or "nogui")
{
Headless.SDL2.Program.Main(args.Skip(1).ToArray());
return 0;
}
LoggerAdapter.Register();
IconProvider.Current