mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Fixed bug the launcher prefix
This commit is contained in:
parent
cb39ba57df
commit
41933e9aa1
6 changed files with 54 additions and 8 deletions
|
|
@ -1088,7 +1088,7 @@ namespace ServerManagerTool.Lib
|
|||
{
|
||||
if (this.LauncherArgsPrefix && !string.IsNullOrWhiteSpace(this.LauncherArgs))
|
||||
{
|
||||
commandArgs.AppendLine(this.LauncherArgs);
|
||||
commandArgs.AppendLine(this.LauncherArgs.Trim());
|
||||
}
|
||||
|
||||
commandArgs.Append("start");
|
||||
|
|
@ -1105,7 +1105,7 @@ namespace ServerManagerTool.Lib
|
|||
commandArgs.Append($" /affinity {ProcessAffinity:X}");
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(this.LauncherArgs))
|
||||
if (!this.LauncherArgsPrefix && !string.IsNullOrWhiteSpace(this.LauncherArgs))
|
||||
{
|
||||
commandArgs.Append($" {this.LauncherArgs.Trim()}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue