mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
Removes useless designer files
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
using System.ComponentModel;
|
||||
using System.Configuration.Install;
|
||||
using System.ServiceProcess;
|
||||
|
||||
namespace TGServerService
|
||||
{
|
||||
/// <summary>
|
||||
/// This tells the .msi there is a Windows <see cref="System.ServiceProcess.ServiceBase"/> in this <see cref="System.Reflection.Assembly"/> that needs installation
|
||||
/// This tells the .msi there is a Windows <see cref="ServiceBase"/> in this <see cref="System.Reflection.Assembly"/> that needs installation
|
||||
/// </summary>
|
||||
[RunInstaller(true)]
|
||||
public partial class ProjectInstaller : Installer
|
||||
@@ -14,7 +15,21 @@ namespace TGServerService
|
||||
/// </summary>
|
||||
public ProjectInstaller()
|
||||
{
|
||||
InitializeComponent();
|
||||
Installers.AddRange(new Installer[] {
|
||||
new ServiceProcessInstaller
|
||||
{
|
||||
Account = ServiceAccount.LocalSystem,
|
||||
Password = null,
|
||||
Username = null
|
||||
},
|
||||
new ServiceInstaller
|
||||
{
|
||||
Description = "/tg/station Server Service",
|
||||
DisplayName = "TG Station Server",
|
||||
ServiceName = "TG Station Server",
|
||||
StartType = ServiceStartMode.Automatic
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user