mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
return an error HRESULT when dotnet runtime can't be found (#2209)
This commit is contained in:
parent
81bc0012ed
commit
8320a824ce
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ HRESULT InitializeClrAndGetEntryPoint(
|
||||||
if (!dotnet_path || !std::filesystem::exists(dotnet_path))
|
if (!dotnet_path || !std::filesystem::exists(dotnet_path))
|
||||||
{
|
{
|
||||||
logging::E("Error: Unable to find .NET runtime path");
|
logging::E("Error: Unable to find .NET runtime path");
|
||||||
return 1;
|
return HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND);
|
||||||
}
|
}
|
||||||
|
|
||||||
// =========================================================================== //
|
// =========================================================================== //
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue