mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-16 07:16:27 -04:00
Add debug message of system details
This commit is contained in:
parent
55d59f3779
commit
5bd5b25b77
@ -82,6 +82,10 @@ public final class Launcher extends Application {
|
|||||||
UPGRADER.parseArguments(VersionNumber.asVersion(VERSION), Arrays.asList(args));
|
UPGRADER.parseArguments(VersionNumber.asVersion(VERSION), Arrays.asList(args));
|
||||||
|
|
||||||
Logging.LOG.info("*** " + TITLE + " ***");
|
Logging.LOG.info("*** " + TITLE + " ***");
|
||||||
|
Logging.LOG.info("Operating System: " + System.getProperty("os.name") + ' ' + OperatingSystem.SYSTEM_VERSION);
|
||||||
|
Logging.LOG.info("Java Version: " + System.getProperty("java.version") + ", " + System.getProperty("java.vendor"));
|
||||||
|
Logging.LOG.info("Java VM Version: " + System.getProperty("java.vm.name") + " (" + System.getProperty("java.vm.info") + "), " + System.getProperty("java.vm.vendor"));
|
||||||
|
Logging.LOG.info("Java Home: " + System.getProperty("java.home"));
|
||||||
|
|
||||||
launch(args);
|
launch(args);
|
||||||
} catch (Throwable e) { // Fucking JavaFX will suppress the exception and will break our crash reporter.
|
} catch (Throwable e) { // Fucking JavaFX will suppress the exception and will break our crash reporter.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user