Improve ArchiService

- Correct DisplayName
- Implement proper Shutdown sequence instead of 20 seconds timeout-kill
- Misc
This commit is contained in:
JustArchi
2016-06-28 07:14:51 +02:00
parent 5a8701444a
commit 7351d07518
3 changed files with 36 additions and 23 deletions

View File

@@ -12,7 +12,8 @@ namespace ArchiSteamFarm {
ServiceProcessInstaller serviceProcessInstaller = new ServiceProcessInstaller();
serviceInstaller.ServiceName = SharedInfo.ServiceName;
serviceInstaller.DisplayName = SharedInfo.ServiceDescription;
serviceInstaller.DisplayName = SharedInfo.ServiceName;
serviceInstaller.Description = SharedInfo.ServiceDescription;
// Defaulting to only starting when a user starts it, can be easily changed after install
serviceInstaller.StartType = ServiceStartMode.Manual;