- add: zip content support
This commit is contained in:
@@ -6,7 +6,6 @@ using Nebula.Shared;
|
||||
using Nebula.Shared.Models;
|
||||
using Nebula.Shared.Services;
|
||||
using Nebula.Shared.Utils;
|
||||
using Robust.LoaderApi;
|
||||
|
||||
namespace Nebula.Launcher.ProcessHelper;
|
||||
|
||||
@@ -22,8 +21,7 @@ public sealed class GameRunnerPreparer(IServiceProvider provider, ContentService
|
||||
if (engine is null)
|
||||
throw new Exception("Engine version not found: " + buildInfo.BuildInfo.Build.EngineVersion);
|
||||
|
||||
var hashApi = await contentService.EnsureItems(buildInfo.RobustManifestInfo, loadingHandlerFactory, cancellationToken);
|
||||
|
||||
var hashApi = await contentService.EnsureItems(buildInfo, loadingHandlerFactory, cancellationToken);
|
||||
|
||||
if (hashApi.TryOpen("manifest.yml", out var stream))
|
||||
{
|
||||
|
||||
@@ -57,7 +57,7 @@ public class ProcessRunHandler : IDisposable
|
||||
_processInfoTask.Wait();
|
||||
}
|
||||
|
||||
_process = Process.Start(_processInfo!);
|
||||
_process = Process.Start(_processInfo ?? throw new Exception("Process info is null, please try again."));
|
||||
|
||||
if (_process is null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user