Set TorchUI window title with InstanceName setting (in torch.cfg)
This commit is contained in:
@@ -52,6 +52,7 @@ namespace Torch.Server
|
|||||||
|
|
||||||
Themes.uiSource = this;
|
Themes.uiSource = this;
|
||||||
Themes.SetConfig(_config);
|
Themes.SetConfig(_config);
|
||||||
|
Title = $"{_config.InstanceName} - Torch {server.TorchVersion}, SE {server.GameVersion}";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AttachConsole()
|
private void AttachConsole()
|
||||||
|
Reference in New Issue
Block a user