mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-09 03:46:18 -04:00
fix export batch script (#2107)
This commit is contained in:
parent
40eeee7137
commit
b116186f42
@ -297,7 +297,7 @@ public final class CommandBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String toBatchStringLiteral(String s) {
|
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) {
|
public static String toShellStringLiteral(String s) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user