Skip to content

Commit

Permalink
posix support
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jan 18, 2024
1 parent aa51874 commit b81b247
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/cubewhy/celestial/Celestial.java
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,11 @@ public static GameArgsResult getArgs(String version, String branch, String modul
natives = new File(installation, artifact.getAsJsonObject().get("name").getAsString());
}
}
args.add(String.join(";", classpath));
if (OSEnum.getCurrent().equals(OSEnum.Windows)) {
args.add(String.join(";", classpath));
} else {
args.add(String.join(":", classpath));
}
// === main class ===
args.add(LauncherData.getMainClass(json));
// === game args ===
Expand Down

0 comments on commit b81b247

Please sign in to comment.