preventing the creation of the default event source

This commit is contained in:
Justin Gerhardt
2016-07-08 05:01:03 -04:00
parent 6414f375fd
commit 1f5005f14d

View File

@@ -46,6 +46,8 @@ namespace ArchiSteamFarm {
// System account, requires admin privilege to install
serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
serviceInstaller.Installers.Clear();
EventLogInstaller logInstaller = new EventLogInstaller {
Log = SharedInfo.EventLog,
Source = SharedInfo.EventLogSource