mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix(IM): actually log DllNotFoundException
This commit is contained in:
parent
5ff5b68a1a
commit
19fc88e29d
1 changed files with 3 additions and 1 deletions
|
|
@ -336,8 +336,10 @@ namespace Dalamud.Interface.Internal
|
|||
{
|
||||
this.scene = new RawDX11Scene(swapChain);
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
catch (DllNotFoundException ex)
|
||||
{
|
||||
Log.Error(ex, "Could not load ImGui dependencies.");
|
||||
|
||||
var res = PInvoke.User32.MessageBox(
|
||||
IntPtr.Zero,
|
||||
"Dalamud plugins require the Microsoft Visual C++ Redistributable to be installed.\nPlease install the runtime from the official Microsoft website or disable Dalamud.\n\nDo you want to download the redistributable now?",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue