diff --git a/Dalamud.Injector/Dalamud.Injector.csproj b/Dalamud.Injector/Dalamud.Injector.csproj
index 0c6702332..05aa334fc 100644
--- a/Dalamud.Injector/Dalamud.Injector.csproj
+++ b/Dalamud.Injector/Dalamud.Injector.csproj
@@ -14,10 +14,10 @@
true
- 4.1.0.3
- 4.1.0.3
+ 4.1.0.6
+ 4.1.0.6
XIVLauncher addon injection
- 4.1.0.3
+ 4.1.0.6
@@ -29,4 +29,7 @@
+
+
+
diff --git a/Dalamud.Injector/Program.cs b/Dalamud.Injector/Program.cs
index 02ec98bfc..db9ceb692 100644
--- a/Dalamud.Injector/Program.cs
+++ b/Dalamud.Injector/Program.cs
@@ -4,6 +4,7 @@ using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
+using System.Windows.Forms;
using Dalamud.DiscordBot;
using Dalamud.Game.Chat;
using EasyHook;
@@ -15,8 +16,10 @@ namespace Dalamud.Injector {
AppDomain.CurrentDomain.UnhandledException += delegate(object sender, UnhandledExceptionEventArgs eventArgs)
{
File.WriteAllText("InjectorException.txt", eventArgs.ExceptionObject.ToString());
-
- Process.GetCurrentProcess().Kill();
+
+ MessageBox.Show("Failed to inject the XIVLauncher in-game addon. Please report this error:\n\n" + eventArgs.ExceptionObject, "XIVLauncher Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+
+ Environment.Exit(0);
};
var pid = int.Parse(args[0]);