mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix bilibili server crash
This commit is contained in:
@@ -29,6 +29,11 @@ internal sealed partial class GameAccountService : IGameAccountService
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(gameAccounts);
|
||||
|
||||
if (schemeType is SchemeType.ChineseBilibili)
|
||||
{
|
||||
return default;
|
||||
}
|
||||
|
||||
string? registrySdk = RegistryInterop.Get(schemeType);
|
||||
if (string.IsNullOrEmpty(registrySdk))
|
||||
{
|
||||
@@ -62,6 +67,11 @@ internal sealed partial class GameAccountService : IGameAccountService
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(gameAccounts);
|
||||
|
||||
if (schemeType is SchemeType.ChineseBilibili)
|
||||
{
|
||||
return default;
|
||||
}
|
||||
|
||||
string? registrySdk = RegistryInterop.Get(schemeType);
|
||||
|
||||
if (string.IsNullOrEmpty(registrySdk))
|
||||
|
||||
Reference in New Issue
Block a user