- fix: fix runner path

This commit is contained in:
2025-05-01 20:58:43 +03:00
parent 9b08af1fe2
commit 6a7d1f144c
2 changed files with 31 additions and 14 deletions

View File

@@ -179,10 +179,12 @@ public partial class ServerEntryModelView : ViewModelBase
await RunnerService.PrepareRun(buildInfo, loadingContext, CancellationService.Token);
var path = Path.GetDirectoryName(Environment.ProcessPath);
Process = Process.Start(new ProcessStartInfo
{
FileName = "dotnet.exe",
Arguments = "./Nebula.Runner.dll",
Arguments = Path.Join(path, "Nebula.Runner.dll"),
Environment =
{
{ "ROBUST_AUTH_USERID", authProv?.UserId.ToString() },