Minor changes to Profile loading for Auto Processes.

Minor changes to Branch Auto Update process.
This commit is contained in:
Brett Hewitson 2022-01-06 11:27:36 +10:00
parent f3a5f8e436
commit 43d192ec05
3 changed files with 55 additions and 53 deletions

View file

@ -19,7 +19,6 @@ namespace ServerManagerTool.Lib
public string PGM_Name;
public string AdminPassword;
public string ServerName;
public string ServerArgs;
public IPAddress ServerIPAddress;
public int ServerPort;
public int ServerPeerPort;
@ -70,7 +69,6 @@ namespace ServerManagerTool.Lib
PGM_Name = profile.PGM_Name,
AdminPassword = profile.AdminPassword,
ServerName = profile.ServerName,
ServerArgs = profile.GetServerArgs(),
ServerIPAddress = string.IsNullOrWhiteSpace(profile.ServerIP) ? IPAddress.Loopback : IPAddress.TryParse(profile.ServerIP.Trim(), out IPAddress ipAddress) ? ipAddress : IPAddress.Loopback,
ServerPort = profile.ServerPort,
ServerPeerPort = profile.ServerPeerPort,