Skip to content

Commit

Permalink
Use ModManager exec path as base for Duskers folder path
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmuscaria committed Feb 8, 2024
1 parent 24b3da2 commit 3147ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/juanmuscaria/dmm/util/DuskersHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static ProcessBuilder buildDuskersLaunchProcess(boolean modded) throws Di
var pb = new ProcessBuilder();
var cmd = new ArrayList<String>();
var env = pb.environment();
var local = Path.of(".").toAbsolutePath();
var local = ModManagerApplication.getSelfPath().toAbsolutePath().getParent();
logger.info("Duskers path:" + local);

if (SystemUtils.IS_OS_WINDOWS) {
Expand Down

0 comments on commit 3147ae4

Please sign in to comment.