This commit is contained in:
AffectedArc07
2022-10-08 14:04:07 +01:00
parent 7665e02f2c
commit 48a6e5e8e7
+2 -1
View File
@@ -136,7 +136,8 @@ namespace Tgstation.Server.Host.Service
sc.Stop();
// And remove it
using (ServiceInstaller si = new ServiceInstaller()) {
using (ServiceInstaller si = new ServiceInstaller())
{
si.Context = new InstallContext($"old-{sc.ServiceName}-uninstall.log", null);
si.ServiceName = ServerService.Name;
si.Uninstall(null);