Feat: send full version os to the server

This commit is contained in:
Laurent Clouet
2021-06-24 10:36:25 +02:00
parent 6a483e9885
commit 9a5cd74609
3 changed files with 9 additions and 0 deletions

View File

@@ -197,6 +197,7 @@ public class Server extends Thread {
.add("cpu_model_name", os.getCPU().name())
.add("cpu_cores", String.valueOf(user_config.getNbCores() == -1 ? os.getCPU().cores() : user_config.getNbCores()))
.add("os", os.name())
.add("os_version", os.getVersion())
.add("ram", String.valueOf(os.getMemory()))
.add("bits", os.getCPU().arch())
.add("version", user_config.getJarVersion())