mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
empty sha256 tolerance
This commit is contained in:
@@ -49,7 +49,7 @@ internal sealed partial class UpdateService : IUpdateService
|
||||
|
||||
progress.Report(new(versionInformation.Version.ToString(), 0, 0));
|
||||
|
||||
if (versionInformation.Sha256 is not { } sha256)
|
||||
if (versionInformation.Sha256 is not { Length: > 0 } sha256)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user