mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03d235876a | ||
|
|
f49e9669af | ||
|
|
533c70caaa | ||
|
|
dd59302bb3 |
@@ -13,7 +13,7 @@
|
|||||||
<Identity
|
<Identity
|
||||||
Name="60568DGPStudio.SnapHutao"
|
Name="60568DGPStudio.SnapHutao"
|
||||||
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
|
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
|
||||||
Version="1.9.3.0" />
|
Version="1.9.4.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Snap Hutao</DisplayName>
|
<DisplayName>Snap Hutao</DisplayName>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<Identity
|
<Identity
|
||||||
Name="60568DGPStudio.SnapHutaoDev"
|
Name="60568DGPStudio.SnapHutaoDev"
|
||||||
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
|
Publisher="CN=35C8E923-85DF-49A7-9172-B39DC6312C52"
|
||||||
Version="1.9.3.0" />
|
Version="1.9.4.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Snap Hutao Dev</DisplayName>
|
<DisplayName>Snap Hutao Dev</DisplayName>
|
||||||
|
|||||||
@@ -29,6 +29,11 @@ internal sealed partial class GameAccountService : IGameAccountService
|
|||||||
{
|
{
|
||||||
ArgumentNullException.ThrowIfNull(gameAccounts);
|
ArgumentNullException.ThrowIfNull(gameAccounts);
|
||||||
|
|
||||||
|
if (schemeType is SchemeType.ChineseBilibili)
|
||||||
|
{
|
||||||
|
return default;
|
||||||
|
}
|
||||||
|
|
||||||
string? registrySdk = RegistryInterop.Get(schemeType);
|
string? registrySdk = RegistryInterop.Get(schemeType);
|
||||||
if (string.IsNullOrEmpty(registrySdk))
|
if (string.IsNullOrEmpty(registrySdk))
|
||||||
{
|
{
|
||||||
@@ -62,6 +67,11 @@ internal sealed partial class GameAccountService : IGameAccountService
|
|||||||
{
|
{
|
||||||
ArgumentNullException.ThrowIfNull(gameAccounts);
|
ArgumentNullException.ThrowIfNull(gameAccounts);
|
||||||
|
|
||||||
|
if (schemeType is SchemeType.ChineseBilibili)
|
||||||
|
{
|
||||||
|
return default;
|
||||||
|
}
|
||||||
|
|
||||||
string? registrySdk = RegistryInterop.Get(schemeType);
|
string? registrySdk = RegistryInterop.Get(schemeType);
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(registrySdk))
|
if (string.IsNullOrEmpty(registrySdk))
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ internal sealed class PackageReplaceStatus
|
|||||||
public PackageReplaceStatus(string name)
|
public PackageReplaceStatus(string name)
|
||||||
{
|
{
|
||||||
Name = name;
|
Name = name;
|
||||||
Description = default!;
|
Description = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ internal sealed partial class LaunchGameViewModel : Abstraction.ViewModel
|
|||||||
// Always ensure game resources
|
// Always ensure game resources
|
||||||
if (!await gameService.EnsureGameResourceAsync(SelectedScheme, convertProgress).ConfigureAwait(false))
|
if (!await gameService.EnsureGameResourceAsync(SelectedScheme, convertProgress).ConfigureAwait(false))
|
||||||
{
|
{
|
||||||
infoBarService.Warning(SH.ViewModelLaunchGameEnsureGameResourceFail, dialog.State.Name);
|
infoBarService.Warning(SH.ViewModelLaunchGameEnsureGameResourceFail, dialog.State?.Name ?? string.Empty);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user