- add: zip content support

This commit is contained in:
2026-01-16 21:02:34 +03:00
parent 15e4e3fbd7
commit ff31412719
10 changed files with 98 additions and 45 deletions

View File

@@ -35,14 +35,14 @@ public sealed class RunnerService(
if (engine is null)
throw new Exception("Engine version not found: " + buildInfo.BuildInfo.Build.EngineVersion);
var hashApi = await contentService.EnsureItems(buildInfo.RobustManifestInfo, loadingHandler, cancellationToken);
var fileApi = await contentService.EnsureItems(buildInfo, loadingHandler, cancellationToken);
var extraMounts = new List<ApiMount>
{
new(hashApi, "/")
new(fileApi, "/")
};
if (hashApi.TryOpen("manifest.yml", out var stream))
if (fileApi.TryOpen("manifest.yml", out var stream))
{
var modules = ContentManifestParser.ExtractModules(stream);