mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2026-10-17 05:31:22 +08:00
fix export batch script (#2107)
This commit is contained in:
@@ -297,7 +297,7 @@ public final class CommandBuilder {
|
||||
}
|
||||
|
||||
public static String toBatchStringLiteral(String s) {
|
||||
return containsEscape(s, " \t\"^&<>|") ? '"' + escape(s, '\\', '"') : s;
|
||||
return containsEscape(s, " \t\"^&<>|") ? '"' + escape(s, '\\', '"') + '"' : s;
|
||||
}
|
||||
|
||||
public static String toShellStringLiteral(String s) {
|
||||
|
||||
Reference in New Issue
Block a user