diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 81e2f2d..c6e2985 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,7 @@ on: [push, pull_request] env: PLUGIN_NAME: "FreePackages" - DOTNET_SDK_VERSION: 8.0 + DOTNET_SDK_VERSION: 9.0 jobs: publish: diff --git a/ArchiSteamFarm b/ArchiSteamFarm index ce4b41e..8aa0170 160000 --- a/ArchiSteamFarm +++ b/ArchiSteamFarm @@ -1 +1 @@ -Subproject commit ce4b41ee739f028e74688ce8764b2418b1a3a8e0 +Subproject commit 8aa017050e7bbc5b75f378ff5b5a1bf32479a656 diff --git a/FreePackages/FreePackages.cs b/FreePackages/FreePackages.cs index 300a88a..46b9a12 100644 --- a/FreePackages/FreePackages.cs +++ b/FreePackages/FreePackages.cs @@ -61,7 +61,7 @@ public async Task OnBotInitModules(Bot bot, IReadOnlyDictionary(); bot.ArchiLogger.LogGenericInfo("Free Packages Limit : " + packageLimit.ToString()); break; } diff --git a/FreePackages/FreePackages.csproj b/FreePackages/FreePackages.csproj index 82661b3..b741363 100644 --- a/FreePackages/FreePackages.csproj +++ b/FreePackages/FreePackages.csproj @@ -2,17 +2,17 @@ Citrinate - 1.5.2.4 + 1.5.3.0 enable latest - net8.0 + net9.0 true PrepareResources;$(CompileDependsOn) - - + + diff --git a/FreePackages/IPC/Api/FreePackagesController.cs b/FreePackages/IPC/Api/FreePackagesController.cs index 562a95f..791da13 100644 --- a/FreePackages/IPC/Api/FreePackagesController.cs +++ b/FreePackages/IPC/Api/FreePackagesController.cs @@ -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")] diff --git a/build.bat b/build.bat index 6675bb5..2d50605 100644 --- a/build.bat +++ b/build.bat @@ -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 diff --git a/build.sh b/build.sh index 7eb9f8b..5e55e99 100755 --- a/build.sh +++ b/build.sh @@ -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 || : )