[FIX] file.encoding utf-8 by default

This commit is contained in:
Gravita 2024-03-05 19:07:02 +07:00
parent 7ff062f9e4
commit e28c9773fc

View file

@ -75,6 +75,7 @@ public static LaunchServerConfig getDefault(LaunchServer.LaunchServerEnv env) {
newConfig.launcher.compress = true; newConfig.launcher.compress = true;
newConfig.launcher.deleteTempFiles = true; newConfig.launcher.deleteTempFiles = true;
newConfig.launcher.stripLineNumbers = true; newConfig.launcher.stripLineNumbers = true;
newConfig.launcher.customJvmOptions.add("-Dfile.encoding=UTF-8");
newConfig.sign = new JarSignerConf(); newConfig.sign = new JarSignerConf();