mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-30 14:39:56 +08: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) {
|
||||
return containsEscape(s, " \t\"^&<>|") ? '"' + escape(s, '\\', '"') : s;
|
||||
return containsEscape(s, " \t\"^&<>|") ? '"' + escape(s, '\\', '"') + '"' : s;
|
||||
}
|
||||
|
||||
public static String toShellStringLiteral(String s) {
|
||||
|
Loading…
Reference in New Issue
Block a user