Work work

This commit is contained in:
JustArchi
2016-08-02 22:51:09 +02:00
parent 6bd161359f
commit 4481fb3a86
10 changed files with 68 additions and 64 deletions

View File

@@ -11,14 +11,12 @@ using GUI;
// ReSharper disable once CheckNamespace
namespace ArchiSteamFarm {
internal static class Program {
internal static bool IsRunningAsService => false;
internal static GlobalConfig GlobalConfig { get; private set; }
internal static GlobalDatabase GlobalDatabase { get; private set; }
internal static WebBrowser WebBrowser { get; private set; }
internal static string GetUserInput(SharedInfo.EUserInputType userInputType, string botName = SharedInfo.ASF, string extraInformation = null) {
return null;
return null; // TODO
}
internal static void Exit(int exitCode = 0) {
@@ -38,10 +36,6 @@ namespace ArchiSteamFarm {
Environment.Exit(0);
}
internal static void OnBotShutdown() {
}
internal static void InitShutdownSequence() {
foreach (Bot bot in Bot.Bots.Values.Where(bot => bot.KeepRunning)) {
bot.Stop();
@@ -95,7 +89,7 @@ namespace ArchiSteamFarm {
Logging.InitCoreLoggers();
if (!Runtime.IsRuntimeSupported()) {
if (!Runtime.IsRuntimeSupported) {
Logging.LogGenericError("ASF detected unsupported runtime version, program might NOT run correctly in current environment. You're running it at your own risk!");
}