diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 07f6d42f0..be0c447c7 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -1986,6 +1986,11 @@ namespace ArchiSteamFarm { } } + // TODO: Until https://github.com/dotnet/corefx/issues/27232 is dealt with, use this fallback as an alternative for keys import + if (OS.IsUnix && File.Exists(KeysToRedeemFilePath)) { + await ImportKeysToRedeem(KeysToRedeemFilePath).ConfigureAwait(false); + } + if ((GamesRedeemerInBackgroundTimer == null) && BotDatabase.HasGamesToRedeemInBackground) { Utilities.InBackground(RedeemGamesInBackground); }