From 9e44a71af36791e9348a2498a1b4610248140ef8 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Wed, 27 Aug 2025 00:04:15 -0500 Subject: logging and integration stuff --- .../dev/figboot/launcher/core/config/PropertyLauncherDirectories.java | 2 +- .../dev/figboot/launcher/core/config/SimpleLauncherConfiguration.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'core/src/main/java/dev/figboot/launcher') diff --git a/core/src/main/java/dev/figboot/launcher/core/config/PropertyLauncherDirectories.java b/core/src/main/java/dev/figboot/launcher/core/config/PropertyLauncherDirectories.java index a9a0358..53d82eb 100644 --- a/core/src/main/java/dev/figboot/launcher/core/config/PropertyLauncherDirectories.java +++ b/core/src/main/java/dev/figboot/launcher/core/config/PropertyLauncherDirectories.java @@ -12,7 +12,7 @@ class PropertyLauncherDirectories implements LauncherDirectories { @Override public Path getDirectory(LauncherDirectory dir) { - String prop = System.getProperty(root + dir.name()); + String prop = System.getProperty(root + "." + dir.name()); if (prop != null) { return FileSystems.getDefault().getPath(prop); diff --git a/core/src/main/java/dev/figboot/launcher/core/config/SimpleLauncherConfiguration.java b/core/src/main/java/dev/figboot/launcher/core/config/SimpleLauncherConfiguration.java index 0dda8ff..c5260bb 100644 --- a/core/src/main/java/dev/figboot/launcher/core/config/SimpleLauncherConfiguration.java +++ b/core/src/main/java/dev/figboot/launcher/core/config/SimpleLauncherConfiguration.java @@ -8,14 +8,12 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.file.Path; -import java.util.EnumMap; -import java.util.Map; import java.util.Objects; @RequiredArgsConstructor(access = AccessLevel.PROTECTED) public class SimpleLauncherConfiguration implements LauncherConfiguration { private static final Logger LOGGER = LoggerFactory.getLogger(SimpleLauncherConfiguration.class); - private static final String DIR_PROP_ROOT = "dev.figboot.launcher.core.directories."; + private static final String DIR_PROP_ROOT = "dev.figboot.launcher.core.directories"; private final LauncherDirectories directories; -- cgit v1.2.3-70-g09d2