mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
log server version on startup (#380)
This commit is contained in:
@@ -50,6 +50,8 @@ public class Main {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
|
||||
LogManager.info("Running version " + VERSION);
|
||||
|
||||
if (!SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_17)) {
|
||||
LogManager.severe("SlimeVR start-up error! A minimum of Java 17 is required.");
|
||||
JOptionPane
|
||||
@@ -93,7 +95,7 @@ public class Main {
|
||||
e.printStackTrace();
|
||||
}
|
||||
System.exit(1); // Exit in case error happened on init and window
|
||||
// not appeared, but some thread
|
||||
// not appeared, but some thread
|
||||
// started
|
||||
} finally {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user