mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
Style
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user