We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554e573 commit a6e4651Copy full SHA for a6e4651
HMCLCore/src/main/java/org/jackhuang/hmcl/launch/DefaultLauncher.java
@@ -169,7 +169,7 @@ private Command generateCommandLine(File nativeFolder) throws IOException {
169
}
170
171
if (OperatingSystem.CURRENT_OS != OperatingSystem.WINDOWS)
172
- res.addDefault("-Duser.home=", options.getGameDir().getParent());
+ res.addDefault("-Duser.home=", options.getGameDir().getAbsoluteFile().getParent());
173
174
Proxy.Type proxyType = options.getProxyType();
175
if (proxyType == null) {
0 commit comments