From d2b58ad10380334a4b993e3b5d834378adf91cff Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 17 Nov 2024 19:07:30 -0500 Subject: [PATCH] Handle IDE message --- src/Tgstation.Server.Host.Service/Program.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Tgstation.Server.Host.Service/Program.cs b/src/Tgstation.Server.Host.Service/Program.cs index 4a9d39fcd2..53623ff2b8 100644 --- a/src/Tgstation.Server.Host.Service/Program.cs +++ b/src/Tgstation.Server.Host.Service/Program.cs @@ -190,10 +190,9 @@ namespace Tgstation.Server.Host.Service // Mimicing Tgstation.Server.Host.Service.Wix here, which is the source of truth for this data installer.Context = new InstallContext( Path.Combine(programDataDirectory, $"tgs-install-{Guid.NewGuid()}.log"), - new[] - { + [ $"assemblypath=\"{exePath}\"{(String.IsNullOrWhiteSpace(PassthroughArgs) ? String.Empty : $" -p=\"{PassthroughArgs}\"")}", - }); + ]); installer.Description = $"{Server.Common.Constants.CanonicalPackageName} running as a Windows service."; installer.DisplayName = Server.Common.Constants.CanonicalPackageName; installer.StartType = ServiceStartMode.Automatic;