Compare commits

...

5 Commits

Author SHA1 Message Date
Archi
c7443bef69 Update TrimmerRoots.xml 2021-11-09 22:49:17 +01:00
Archi
e238026121 Closes #2448 2021-11-09 22:43:13 +01:00
Archi
36d51e80d7 Bump 2021-11-09 22:15:35 +01:00
Archi
a4b5c9a6cc Bring back System.Collections.Immutable in trimmer roots
Still needed, sigh
2021-11-09 22:04:43 +01:00
Archi
b305af6f7f Bump 2021-11-09 21:34:20 +01:00
3 changed files with 12 additions and 1 deletions

View File

@@ -1329,6 +1329,9 @@ namespace ArchiSteamFarm.Steam.Integration {
}
return (response.StatusCode.IsSuccessCode() ? EResult.OK : EResult.Fail, purchaseResult);
case HttpStatusCode.Unauthorized:
// Let's convert this into something reasonable
return (EResult.AccessDenied, EPurchaseResultDetail.NoDetail);
default:
// We should handle all expected status codes above, this is a generic fallback for those that we don't
Bot.ArchiLogger.LogGenericError(string.Format(CultureInfo.CurrentCulture, Strings.WarningUnknownValuePleaseReport, nameof(response.StatusCode), response.StatusCode));

View File

@@ -1,4 +1,12 @@
<linker>
<!-- This is actually needed for ASF (JSON deserialization), not plugins -->
<assembly fullname="System.Collections.Immutable">
<type fullname="System.Collections.Immutable.ImmutableDictionary" />
<type fullname="System.Collections.Immutable.ImmutableHashSet" />
<type fullname="System.Collections.Immutable.ImmutableList" />
</assembly>
<!-- This is needed for basic plugins usage, the attribute is trimmed otherwise -->
<assembly fullname="System.Composition.AttributedModel">
<type fullname="System.Composition.ExportAttribute" />
</assembly>

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>5.2.0.0</Version>
<Version>5.2.0.2</Version>
</PropertyGroup>
<PropertyGroup>