mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-12 13:26:53 -04:00
Fix #426
This commit is contained in:
parent
dfd177433a
commit
47c4fc2f7e
@ -94,7 +94,9 @@ public class MaintainTask extends TaskResult<Version> {
|
|||||||
args.add("optifine.OptiFineForgeTweaker");
|
args.add("optifine.OptiFineForgeTweaker");
|
||||||
}
|
}
|
||||||
|
|
||||||
return version.setMinecraftArguments(new CommandBuilder().addAll(args).toString());
|
// Since $ will be escaped in linux, and our maintain of minecraftArgument will not cause escaping,
|
||||||
|
// so we regenerate the minecraftArgument without escaping.
|
||||||
|
return version.setMinecraftArguments(new CommandBuilder().addAllWithoutParsing(args).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user