mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Server Version Changes
This commit is contained in:
parent
0a90a0cfec
commit
ae55d0d1c0
8 changed files with 117 additions and 4 deletions
|
|
@ -619,6 +619,12 @@ namespace ServerManagerTool.Lib
|
|||
gotNewVersion = ServerApp.HasNewServerVersion(this.ProfileSnapshot.InstallDirectory, startTime);
|
||||
|
||||
progressCallback?.Invoke(0, $"{SteamCmdUpdater.OUTPUT_PREFIX} New server version - {gotNewVersion.ToString().ToUpperInvariant()}.");
|
||||
|
||||
// update the version number of the server.
|
||||
var versionFile = Path.Combine(this.ProfileSnapshot.InstallDirectory, Config.Default.VersionFile);
|
||||
this.Version = ServerApp.GetServerVersion(versionFile);
|
||||
|
||||
progressCallback?.Invoke(0, $"{SteamCmdUpdater.OUTPUT_PREFIX} Server version: {this.Version}\r\n");
|
||||
}
|
||||
|
||||
progressCallback?.Invoke(0, "\r\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue