Fix broken Mono after #268

This commit is contained in:
JustArchi
2016-06-28 10:36:28 +02:00
parent 57014aab6d
commit 1fe5cfff49
5 changed files with 48 additions and 15 deletions

View File

@@ -277,7 +277,7 @@ namespace ArchiSteamFarm {
return null;
}
if (GlobalConfig.Headless || !Environment.UserInteractive) {
if (GlobalConfig.Headless || !Runtime.IsUserInteractive) {
Logging.LogGenericWarning("Received a request for user input, but process is running in headless mode!");
return null;
}
@@ -540,7 +540,7 @@ namespace ArchiSteamFarm {
}
private static void Main(string[] args) {
if (Environment.UserInteractive) {
if (Runtime.IsUserInteractive) {
// App
Init(args);