diff --git a/src/main/java/de/chaos/swlnmngr/config/CLIConfig.java b/src/main/java/de/chaos/swlnmngr/config/CLIConfig.java index 2f9c2bf..058ece6 100644 --- a/src/main/java/de/chaos/swlnmngr/config/CLIConfig.java +++ b/src/main/java/de/chaos/swlnmngr/config/CLIConfig.java @@ -54,7 +54,8 @@ public class CLIConfig { .getLocation() .toURI() .getPath()) - .getCanonicalFile(); + .getCanonicalFile() + .getParentFile(); INSTALL_DIR_IS_SET = false; } catch (IOException | URISyntaxException e) { Main.getLogger().error(e.getMessage(), e);