Update crash content
This commit is contained in:
parent
1a56f42287
commit
611d4b823e
1 changed files with 7 additions and 17 deletions
|
@ -24,6 +24,7 @@ import de.staropensource.sosengine.base.classes.ShutdownHandler;
|
||||||
import de.staropensource.sosengine.base.classes.SubsystemClass;
|
import de.staropensource.sosengine.base.classes.SubsystemClass;
|
||||||
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
|
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
|
||||||
import de.staropensource.sosengine.base.data.information.EngineInformation;
|
import de.staropensource.sosengine.base.data.information.EngineInformation;
|
||||||
|
import de.staropensource.sosengine.base.data.information.JvmInformation;
|
||||||
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
|
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
|
||||||
import de.staropensource.sosengine.base.events.*;
|
import de.staropensource.sosengine.base.events.*;
|
||||||
import de.staropensource.sosengine.base.exceptions.NoAccessException;
|
import de.staropensource.sosengine.base.exceptions.NoAccessException;
|
||||||
|
@ -219,23 +220,12 @@ public final class Engine extends SubsystemClass {
|
||||||
crashContentIssuer.put("Additional information", "%issuer_metadata%");
|
crashContentIssuer.put("Additional information", "%issuer_metadata%");
|
||||||
crashContentIssuer.put("Message", "%crash_message%");
|
crashContentIssuer.put("Message", "%crash_message%");
|
||||||
|
|
||||||
// Engine -> Dependencies -> base
|
|
||||||
Map<@NotNull String, @NotNull String> crashContentEngineDependenciesBase = new LinkedHashMap<>();
|
|
||||||
crashContentEngineDependenciesBase.put("Jansi", "%engine_dependency_jansi%");
|
|
||||||
crashContentEngineDependenciesBase.put("Reflections", "%engine_dependency_reflections%");
|
|
||||||
// Engine -> Dependencies -> slf4j-compat
|
|
||||||
Map<@NotNull String, @NotNull String> crashContentEngineDependenciesSlf4jCompat = new LinkedHashMap<>();
|
|
||||||
crashContentEngineDependenciesSlf4jCompat.put("SLF4J", "%engine_dependency_slf4j%");
|
|
||||||
// Engine -> Dependencies -> opengl & vulkan
|
|
||||||
Map<@NotNull String, @NotNull String> crashContentEngineDependenciesOpenGlVulkan = new LinkedHashMap<>();
|
|
||||||
crashContentEngineDependenciesOpenGlVulkan.put("LWJGL", "%engine_dependency_lwjgl%");
|
|
||||||
// Engine -> Dependencies
|
// Engine -> Dependencies
|
||||||
Map<@NotNull String, @NotNull Object> crashContentEngineDependencies = new LinkedHashMap<>();
|
LinkedList<@NotNull String> crashContentEngineDependencies = new LinkedList<>();
|
||||||
crashContentEngineDependencies.put("Lombok", "%engine_dependency_lombok%");
|
crashContentEngineDependencies.add("Subsystem 'base': Reflections: %engine_dependency_reflections%");
|
||||||
crashContentEngineDependencies.put("Jetbrains Annotations", "%engine_dependency_jetbrains_annotations%");
|
crashContentEngineDependencies.add("Subsystem 'ansi': Jansi: %engine_dependency_jansi%");
|
||||||
crashContentEngineDependencies.put("Subsystem 'base'", crashContentEngineDependenciesBase);
|
crashContentEngineDependencies.add("Subsystem 'slf4j-compat': SLF4J: %engine_dependency_slf4j%");
|
||||||
crashContentEngineDependencies.put("Subsystem 'slf4j-compat'", crashContentEngineDependenciesSlf4jCompat);
|
crashContentEngineDependencies.add("Subsystems 'glfw', 'opengl' & 'vulkan': LWJGL: %engine_dependency_lwjgl%");
|
||||||
crashContentEngineDependencies.put("Subsystems 'opengl' & 'vulkan'", crashContentEngineDependenciesOpenGlVulkan);
|
|
||||||
// Engine -> *
|
// Engine -> *
|
||||||
Map<@NotNull String, @NotNull Object> crashContentEngine = new LinkedHashMap<>();
|
Map<@NotNull String, @NotNull Object> crashContentEngine = new LinkedHashMap<>();
|
||||||
crashContentEngine.put("Version", "%engine_version%");
|
crashContentEngine.put("Version", "%engine_version%");
|
||||||
|
@ -250,7 +240,7 @@ public final class Engine extends SubsystemClass {
|
||||||
Map<@NotNull String, @NotNull Object> crashContentJvm = new LinkedHashMap<>();
|
Map<@NotNull String, @NotNull Object> crashContentJvm = new LinkedHashMap<>();
|
||||||
crashContentJvm.put("Java Version", "%jvm_java%");
|
crashContentJvm.put("Java Version", "%jvm_java%");
|
||||||
crashContentJvm.put("Implementation", crashContentJvmImplementation);
|
crashContentJvm.put("Implementation", crashContentJvmImplementation);
|
||||||
crashContentJvm.put("Arguments", "%jvm_arguments%");
|
crashContentJvm.put("Arguments", JvmInformation.getArguments());
|
||||||
|
|
||||||
// Operating system
|
// Operating system
|
||||||
Map<@NotNull String, @NotNull String> crashContentOS = new LinkedHashMap<>();
|
Map<@NotNull String, @NotNull String> crashContentOS = new LinkedHashMap<>();
|
||||||
|
|
Loading…
Reference in a new issue