improved error handling

This commit is contained in:
stax76
2022-05-20 14:50:56 +02:00
parent 3e499befbc
commit 354d5493c4
2 changed files with 28 additions and 19 deletions

View File

@@ -23,6 +23,7 @@ namespace mpvnet
public static bool AutoLoadFolder { get; set; } = true;
public static bool AutoPlay { get; set; }
public static bool DebuggerAttached { get; set; } = Debugger.IsAttached;
public static bool DebugMode { get; set; }
public static bool Exit { get; set; }
public static bool IsTerminalAttached { get; } = Environment.GetEnvironmentVariable("_started_from_console") == "yes";