Fix include uid bug

This commit is contained in:
2023-10-07 21:24:59 +08:00
parent 749f324f7d
commit ab92469f11

View File

@ -382,7 +382,9 @@ namespace GrasscutterTools.Forms
{ {
if (!string.IsNullOrEmpty(args)) if (!string.IsNullOrEmpty(args))
command = command + ' ' + args; command = command + ' ' + args;
SetCommand(command.Trim() + ' ' + Settings.Default.Uid); SetCommand(Settings.Default.IsIncludeUID
? $"{command} @{Settings.Default.Uid}"
: command);
} }
/// <summary> /// <summary>