Fixed bug the launcher prefix

This commit is contained in:
Brett Hewitson 2022-01-25 13:34:13 +10:00
parent cb39ba57df
commit 41933e9aa1
6 changed files with 54 additions and 8 deletions

View file

@ -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()}");
}

View file

@ -9,8 +9,8 @@
<entry>
<id>urn:uuid:6F91598E-D62C-4F48-A205-C9C4A66BBB65</id>
<title>1.1.62 (1.1.62.1)</title>
<summary>1.1.62.1</summary>
<title>1.1.62 (1.1.62.2)</title>
<summary>1.1.62.2</summary>
<link href="" />
<updated>2022-01-25T00:00:00Z</updated>
<content type="xhtml">

View file

@ -7,6 +7,29 @@
<link href="http://servermanagers.freeforums.net/" />
<updated>2022-01-25T00:00:00Z</updated>
<entry>
<id>urn:uuid:153F64B2-16DA-40A5-9436-659F9BE24C21</id>
<title>1.1.62 (1.1.62.2)</title>
<summary>1.1.62.2</summary>
<link href="" />
<updated>2022-01-25T00:00:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
<p>
<u style="font-size: .9em;">BUGFIX</u>
<br/>
<ul>
<li>Fixed prefix launcher option bug.</li>
</ul>
</p>
</div>
</content>
<author>
<name>bletch</name>
<email>bletch1971@hotmail.com</email>
</author>
</entry>
<entry>
<id>urn:uuid:6F91598E-D62C-4F48-A205-C9C4A66BBB65</id>
<title>1.1.62 (1.1.62.1)</title>