summaryrefslogtreecommitdiffstats
path: root/core/src/main/java/dev
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-08-27 00:04:15 -0500
committerLibravatar bigfoot547 <[email protected]>2025-08-27 00:04:15 -0500
commit9e44a71af36791e9348a2498a1b4610248140ef8 (patch)
tree4362a0fbd9984f69fd2fad342434db4d59705fb6 /core/src/main/java/dev
parentuntested: launcher dirs (diff)
logging and integration stuff
Diffstat (limited to 'core/src/main/java/dev')
-rw-r--r--core/src/main/java/dev/figboot/launcher/core/config/PropertyLauncherDirectories.java2
-rw-r--r--core/src/main/java/dev/figboot/launcher/core/config/SimpleLauncherConfiguration.java4
2 files changed, 2 insertions, 4 deletions
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;