Omit dump of configs and databases on debug builds

They only slow down debugging process
This commit is contained in:
JustArchi
2019-09-17 19:04:12 +02:00
parent 9627806a62
commit 241172a44e
3 changed files with 10 additions and 5 deletions

View File

@@ -29,7 +29,9 @@ namespace ArchiSteamFarm {
internal static bool IsDebugBuild => false;
#endif
internal static bool IsUserDebugging => IsDebugBuild || ASF.GlobalConfig.Debug;
internal static bool IsDebugConfigured => ASF.GlobalConfig.Debug;
internal static bool IsUserDebugging => IsDebugBuild || IsDebugConfigured;
internal sealed class DebugListener : IDebugListener {
public void WriteLine(string category, string msg) {