Skip to content

Commit

Permalink
Update ArchiSteamFarm to 6.1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Nov 22, 2024
1 parent 66a1e99 commit 896dadd
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

env:
PLUGIN_NAME: "BoosterManager"
DOTNET_SDK_VERSION: 8.0
DOTNET_SDK_VERSION: 9.0

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion ArchiSteamFarm
Submodule ArchiSteamFarm updated 141 files
2 changes: 1 addition & 1 deletion BoosterManager/BoosterManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public Task OnASFInit(IReadOnlyDictionary<string, JsonElement>? additionalConfig
}
case "LogDataPageDelay" or "MarketHistoryDelay" when configProperty.Value.ValueKind == JsonValueKind.Number: {
ASF.ArchiLogger.LogGenericInfo("Log Data Page Delay : " + configProperty.Value);
DataHandler.LogDataPageDelay = configProperty.Value.GetUInt32();
DataHandler.LogDataPageDelay = configProperty.Value.ToJsonObject<uint>();
break;
}
case "InventoryHistoryAppFilter" when configProperty.Value.ValueKind == JsonValueKind.Array && configProperty.Value.GetArrayLength() > 0: {
Expand Down
8 changes: 4 additions & 4 deletions BoosterManager/BoosterManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

<PropertyGroup>
<Authors>Citrinate</Authors>
<AssemblyVersion>2.10.1.2</AssemblyVersion>
<AssemblyVersion>2.10.2.0</AssemblyVersion>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Deterministic>true</Deterministic>
<CoreCompileDependsOn>PrepareResources;$(CompileDependsOn)</CoreCompileDependsOn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="3.11.0-beta1.23364.2" PrivateAssets="all" />
<PackageReference Include="System.Composition.AttributedModel" Version="8.0.0" />
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="3.11.0-beta1.24508.2" PrivateAssets="all" />
<PackageReference Include="System.Composition.AttributedModel" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion BoosterManager/IPC/Api/BoosterManagerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using Swashbuckle.AspNetCore.Annotations;

namespace BoosterManager {
[Route("Api/BoosterManager", Name = nameof(BoosterManager))]
[Route("Api/BoosterManager")]
public sealed class BoosterManagerController : ArchiController {
/// <summary>
/// Retrieves booster data for given bot.
Expand Down
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if exist out rmdir /Q /S out

rem release generic version

dotnet publish BoosterManager -c "Release" -f "net8.0" -o "out/generic" "/p:LinkDuringPublish=false"
dotnet publish BoosterManager -c "Release" -f "net9.0" -o "out/generic" "/p:LinkDuringPublish=false"
mkdir .\out\%CurrDirName%
copy .\out\generic\%CurrDirName%.dll .\out\%CurrDirName%
rem comment section below (downto :zip label) if you don't want to include documentation
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi
## release generic version
dotnet restore
sync
dotnet publish BoosterManager -c "Release" -f net8.0 -o "out/generic" "/p:LinkDuringPublish=false"
dotnet publish BoosterManager -c "Release" -f net9.0 -o "out/generic" "/p:LinkDuringPublish=false"
mkdir ./out/$plugin_name
cp ./out/generic/$plugin_name.dll ./out/$plugin_name
( cd ./out/generic ; cp --parents ./*/$plugin_name.resources.dll ../../out/$plugin_name || : )
Expand Down

0 comments on commit 896dadd

Please sign in to comment.