mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: only warn before manual injections in release builds
This commit is contained in:
parent
c901ab4248
commit
83676a3ac2
1 changed files with 4 additions and 0 deletions
|
|
@ -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 _))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue