在 Windows 的启动脚本里增加一行 cd %appdata%

这样可以避免一些文件如 logs 生成在脚本所在目录,而不是 .minecraft 目录
This commit is contained in:
Cat73 2016-05-03 09:41:55 +08:00
parent 8d5088d2e4
commit 85237eac7e

View File

@ -174,6 +174,8 @@ public class GameLauncher {
if (appdata != null) {
writer.write("set appdata=" + appdata);
writer.newLine();
writer.write("cd %appdata%");
writer.newLine();
}
}
if (StrUtils.isNotBlank(options.getPrecalledCommand())) {