mirror of
https://github.com/Readarr/Readarr
synced 2025-12-17 22:03:05 +01:00
Fixed: 'iso-8859-2' is not a supported encoding name
This commit is contained in:
parent
45671c89f9
commit
966e9f43f1
2 changed files with 3 additions and 1 deletions
|
|
@ -4,11 +4,11 @@
|
|||
using System.Reflection;
|
||||
using System.Security.Cryptography;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using DryIoc;
|
||||
using DryIoc.Microsoft.DependencyInjection;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Hosting.WindowsServices;
|
||||
using NLog;
|
||||
|
|
@ -46,6 +46,7 @@ public static void Start(string[] args, Action<IHostBuilder> trayCallback = null
|
|||
var startupContext = new StartupContext(args);
|
||||
|
||||
LongPathSupport.Enable();
|
||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||
|
||||
var appMode = GetApplicationMode(startupContext);
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" />
|
||||
<PackageReference Include="DryIoc.dll" />
|
||||
<PackageReference Include="DryIoc.Microsoft.DependencyInjection" />
|
||||
<PackageReference Include="System.Text.Encoding.CodePages" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Readarr.Api.V1\Readarr.Api.V1.csproj" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue