fix ERROR_NOT_FOUND

This commit is contained in:
qhy040404
2023-12-28 19:34:04 +08:00
parent cd6a3bbfd9
commit a16fcbd2bb
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Snap.Hutao.Deployment.Runtime</id>
<version>1.8.0</version>
<version>1.9.0</version>
<authors>DGP Studio</authors>
<developmentDependency>true</developmentDependency>
<requireLicenseAcceptance>false</requireLicenseAcceptance>

View File

@@ -92,8 +92,8 @@ internal static partial class Invocation
}
catch (COMException ex)
{
// ERROR_MRM_MAP_NOT_FOUND
if (ex.HResult is not unchecked((int)0x80073B1F))
// ERROR_MRM_MAP_NOT_FOUND or ERROR_NOT_FOUND
if (ex.HResult is not unchecked((int)0x80073B1F) or unchecked((int)0x80070490))
{
throw;
}