From b74a0d6e7964db446c9711d3dfca683b340e918a Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 2 Jul 2023 08:39:44 -0400 Subject: [PATCH] Do not deprecate service self-installing --- src/Tgstation.Server.Host.Service/Program.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Tgstation.Server.Host.Service/Program.cs b/src/Tgstation.Server.Host.Service/Program.cs index c0a9409ea1..fcd4cdb19e 100644 --- a/src/Tgstation.Server.Host.Service/Program.cs +++ b/src/Tgstation.Server.Host.Service/Program.cs @@ -120,12 +120,9 @@ namespace Tgstation.Server.Host.Service if (standardRun) if (!Silent && !WindowsServiceHelpers.IsWindowsService()) { -#if NET7_0_OR_GREATER -#error Deprecated functionality, remove -#endif var result = NativeMethods.MessageBox( default, - "You are running the TGS windows service executable directly. It should only be run by the service control manager. Would you like to install and configure the service in this location? (Note: This functionality is deprecated and will be removed in a future version)", + "You are running the TGS windows service executable directly. It should only be run by the service control manager. Would you like to install and configure the service in this location?", "TGS Service", NativeMethods.MessageBoxButtons.YesNo);