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 45053b6 commit bbc1e2f
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: "FreePackages"
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 FreePackages/FreePackages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public async Task OnBotInitModules(Bot bot, IReadOnlyDictionary<string, JsonElem
}

case "FreePackagesPerHour" or "FreePackagesLimit" when configProperty.Value.ValueKind == JsonValueKind.Number: {
packageLimit = configProperty.Value.GetUInt32();
packageLimit = configProperty.Value.ToJsonObject<uint>();
bot.ArchiLogger.LogGenericInfo("Free Packages Limit : " + packageLimit.ToString());
break;
}
Expand Down
8 changes: 4 additions & 4 deletions FreePackages/FreePackages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

<PropertyGroup>
<Authors>Citrinate</Authors>
<AssemblyVersion>1.5.2.4</AssemblyVersion>
<AssemblyVersion>1.5.3.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 FreePackages/IPC/Api/FreePackagesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using Swashbuckle.AspNetCore.Annotations;

namespace FreePackages.IPC {
[Route("Api/FreePackages", Name = nameof(FreePackages))]
[Route("Api/FreePackages")]
public sealed class FreePackagesController : ArchiController {
[HttpGet("{botNames:required}/GetChangesSince/{changeNumber:required}")]
[SwaggerOperation (Summary = "Request changes for apps and packages since a given change number")]
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 FreePackages -c "Release" -f "net8.0" -o "out/generic" "/p:LinkDuringPublish=false"
dotnet publish FreePackages -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 FreePackages -c "Release" -f net8.0 -o "out/generic" "/p:LinkDuringPublish=false"
dotnet publish FreePackages -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 bbc1e2f

Please sign in to comment.