From 83676a3ac2afadf6fa4dc379b667b975a8ba4d61 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Tue, 26 Apr 2022 11:26:08 +0200 Subject: [PATCH] chore: only warn before manual injections in release builds --- Dalamud.Injector/EntryPoint.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dalamud.Injector/EntryPoint.cs b/Dalamud.Injector/EntryPoint.cs index 8896dc293..a6fe9acdf 100644 --- a/Dalamud.Injector/EntryPoint.cs +++ b/Dalamud.Injector/EntryPoint.cs @@ -59,7 +59,11 @@ namespace Dalamud.Injector // No command defaults to inject args.Add("inject"); args.Add("--all"); + +#if !DEBUG args.Add("--warn"); +#endif + } else if (int.TryParse(args[1], out var _)) {