mscoree: Remove "Install Mono for Windows" message.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f34be7c690
commit
26c9bd9f15
|
@ -126,11 +126,6 @@ static void CDECL set_print_handler_dummy(MonoPrintCallback callback)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static void missing_runtime_message(void)
|
|
||||||
{
|
|
||||||
MESSAGE("wine: Install Mono for Windows to run .NET applications.\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
static HRESULT load_mono(LPCWSTR mono_path)
|
static HRESULT load_mono(LPCWSTR mono_path)
|
||||||
{
|
{
|
||||||
static const WCHAR lib[] = {'\\','l','i','b',0};
|
static const WCHAR lib[] = {'\\','l','i','b',0};
|
||||||
|
@ -277,7 +272,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost *
|
||||||
|
|
||||||
if (!get_mono_path(mono_path))
|
if (!get_mono_path(mono_path))
|
||||||
{
|
{
|
||||||
missing_runtime_message();
|
ERR("Wine Mono is not installed\n");
|
||||||
return CLR_E_SHIM_RUNTIME;
|
return CLR_E_SHIM_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1306,8 +1301,6 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
missing_runtime_message();
|
|
||||||
|
|
||||||
return CLR_E_SHIM_RUNTIME;
|
return CLR_E_SHIM_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue