Skip to content

Commit

Permalink
Update to v6 (#362)
Browse files Browse the repository at this point in the history
* Update to ASF v6

* bump
  • Loading branch information
ezhevita authored Mar 10, 2024
1 parent ff258b8 commit aa57f0f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ArchiSteamFarm
Submodule ArchiSteamFarm updated 132 files
2 changes: 1 addition & 1 deletion SteamKitProxyInjection/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<PropertyGroup>
<Description>Plugin for ASF which patches constructor of WebSocketContext in SteamKit to allow proxifying WebSocket connection.</Description>
<Version>2.2.0.0</Version>
<Version>2.3.0.0</Version>
</PropertyGroup>

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
Expand Down
1 change: 0 additions & 1 deletion SteamKitProxyInjection/SteamKitProxyInjection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" IncludeAssets="compile"/>
<PackageReference Include="Lib.Harmony"/>
<PackageReference Include="Newtonsoft.Json" IncludeAssets="compile"/>
<PackageReference Include="SteamKit2" IncludeAssets="compile"/>
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile"/>
<ProjectReference Include="..\ArchiSteamFarm\ArchiSteamFarm\ArchiSteamFarm.csproj" Private="false" ExcludeAssets="all"/>
Expand Down
4 changes: 2 additions & 2 deletions SteamKitProxyInjection/SteamKitProxyInjectionPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
using System.Net;
using System.Net.WebSockets;
using System.Reflection;
using System.Text.Json;
using System.Threading.Tasks;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.Plugins.Interfaces;
using HarmonyLib;
using JetBrains.Annotations;
using Newtonsoft.Json.Linq;

namespace SteamKitProxyInjection;

Expand All @@ -28,7 +28,7 @@ public Task OnLoaded()
public string Name => nameof(SteamKitProxyInjection);
public Version Version => Assembly.GetExecutingAssembly().GetName().Version ?? throw new InvalidOperationException();

public Task OnASFInit(IReadOnlyDictionary<string, JToken>? additionalConfigProperties = null)
public Task OnASFInit(IReadOnlyDictionary<string, JsonElement>? additionalConfigProperties = null)
{
ASF.ArchiLogger.LogGenericInfo("Injecting...");
var harmony = new Harmony("dev.ezhevita.SteamKitProxyInjection");
Expand Down

0 comments on commit aa57f0f

Please sign in to comment.