ToRevert: SK2 Alpha10

Fixed AppVeyor build until https://github.com/appveyor/ci/issues/1861 is dealt with.
This commit is contained in:
JustArchi 2017-10-15 11:42:18 +02:00
parent 6881272610
commit 88928466fc
2 changed files with 6 additions and 2 deletions

View file

@ -36,7 +36,7 @@
<PackageReference Include="Humanizer" Version="2.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="NLog" Version="5.0.0-beta11" />
<PackageReference Include="SteamKit2" Version="2.0.0-Beta.1" />
<PackageReference Include="SteamKit2" Version="2.0.0-Alpha10" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.4.0" />
</ItemGroup>

View file

@ -540,7 +540,11 @@ namespace ArchiSteamFarm {
return;
}
SteamConfiguration = SteamConfiguration.Create(builder => builder.WithProtocolTypes(protocolTypes).WithCellID(cellID).WithServerListProvider(serverListProvider));
SteamConfiguration = new SteamConfiguration {
ProtocolTypes = protocolTypes,
CellID = cellID,
ServerListProvider = serverListProvider
};
// Ensure that we ask for a list of servers if we don't have any saved servers available
IEnumerable<ServerRecord> servers = await SteamConfiguration.ServerListProvider.FetchServerListAsync().ConfigureAwait(false);