Implement update check on startup

This commit is contained in:
JustArchi
2015-10-29 17:36:16 +01:00
parent abe3beaee7
commit a0ba148005
21 changed files with 53431 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ namespace ArchiSteamFarm {
internal Trading Trading { get; private set; }
// Config variables
private bool Enabled { get { return bool.Parse(Config["Enabled"]); } }
internal bool Enabled { get { return bool.Parse(Config["Enabled"]); } }
private string SteamLogin { get { return Config["SteamLogin"]; } }
private string SteamPassword { get { return Config["SteamPassword"]; } }
private string SteamNickname { get { return Config["SteamNickname"]; } }
@@ -76,7 +76,6 @@ namespace ArchiSteamFarm {
ReadConfig();
if (!Enabled) {
Logging.LogGenericInfo(BotName, "Not starting this instance, because it's disabled in config file");
return;
}