Skip to content

Commit

Permalink
update to net5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudokhvist committed Nov 27, 2020
1 parent 0973250 commit 7592458
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ArchiSteamFarm
Submodule ArchiSteamFarm updated 136 files
4 changes: 2 additions & 2 deletions BoosterCreator/BoosterCreator.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net48</TargetFrameworks>
<TargetFrameworks>net5.0;net48</TargetFrameworks>
<Authors>Out</Authors>
<AssemblyVersion>1.0.4.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion BoosterCreator/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal static class Commands {
return null;
}

if (!bot.HasPermission(steamID, BotConfig.EPermission.Operator)) {
if (!bot.HasAccess(steamID, BotConfig.EAccess.Operator)) {
return null;
}

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 -c "Release" -f "netcoreapp3.1" -o "out/generic" "/p:LinkDuringPublish=false"
dotnet publish -c "Release" -f "net5.0" -o "out/generic" "/p:LinkDuringPublish=false"
mkdir .\out\%CurrDirName%
copy .\out\generic\%CurrDirName%.dll .\out\%CurrDirName%
copy .\README.md .\out\%CurrDirName%
Expand Down

0 comments on commit 7592458

Please sign in to comment.