Docker enhancements

This commit is contained in:
JustArchi
2017-10-07 17:26:08 +02:00
parent 334488919f
commit 8fa58a4841
6 changed files with 27 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ namespace ArchiSteamFarm {
internal static GlobalConfig GlobalConfig { get; private set; }
internal static GlobalDatabase GlobalDatabase { get; private set; }
internal static bool ServiceMode { get; private set; }
internal static WebBrowser WebBrowser { get; private set; }
private static readonly object ConsoleLock = new object();
@@ -396,6 +397,9 @@ namespace ArchiSteamFarm {
case "--server":
IPC.Start();
break;
case "--service":
ServiceMode = true;
break;
default:
if (arg.StartsWith("--", StringComparison.Ordinal)) {
if (arg.StartsWith("--cryptkey=", StringComparison.Ordinal) && (arg.Length > 11)) {