mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-23 03:04:07 -04:00
update
This commit is contained in:
parent
f1f094bee1
commit
887825b53f
@ -98,7 +98,7 @@ public abstract class CreateLanguageList extends DefaultTask {
|
||||
Path outputFile = getOutputFile().get().getAsFile().toPath();
|
||||
Files.createDirectories(outputFile.getParent());
|
||||
Files.writeString(outputFile, locales.stream().map(locale -> '"' + locale.toLanguageTag() + '"')
|
||||
.collect(Collectors.joining(",\n", "[\n", "\n]")));
|
||||
.collect(Collectors.joining(", ", "[", "]")));
|
||||
}
|
||||
|
||||
private final class LocaleComparator implements Comparator<Locale> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user