Initial macOS WebView support

This is a gigantic kerfuffle because Chromium expects a very specific directory & app bundle layout. Have to change a bunch of resource loading code to account for content development being launched from an app bundle, and also had to make automatic MSBuild tooling & a python script to generate such an app bundle
This commit is contained in:
PJB3005
2025-11-09 00:06:16 +01:00
parent feb9e1db69
commit 602d7833a1
18 changed files with 336 additions and 32 deletions

View File

@@ -1,6 +1,7 @@
using System;
using Robust.Client;
using Robust.Client.Input;
using Robust.Shared;
using Robust.Shared.Log;
using Robust.Shared.Timing;
@@ -11,6 +12,7 @@ namespace Robust.UnitTesting
public InitialLaunchState LaunchState { get; } = new(false, null, null, null);
public GameControllerOptions Options { get; } = new();
public bool ContentStart { get; set; }
public StartType StartTypeValue => ContentStart ? StartType.Content : StartType.Engine;
public event Action<FrameEventArgs>? TickUpdateOverride { add { } remove { } }