From 85237eac7e6e3b86e5817ccf94cec101ae7203cc Mon Sep 17 00:00:00 2001 From: Cat73 <1901803382@qq.com> Date: Tue, 3 May 2016 09:41:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20Windows=20=E7=9A=84=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E8=84=9A=E6=9C=AC=E9=87=8C=E5=A2=9E=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E8=A1=8C=20cd=20%appdata%=20=E8=BF=99=E6=A0=B7=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E9=81=BF=E5=85=8D=E4=B8=80=E4=BA=9B=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A6=82=20logs=20=E7=94=9F=E6=88=90=E5=9C=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=89=80=E5=9C=A8=E7=9B=AE=E5=BD=95=EF=BC=8C=E8=80=8C?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=20.minecraft=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hellominecraft/launcher/core/launch/GameLauncher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hellominecraft/launcher/core/launch/GameLauncher.java b/HMCL/src/main/java/org/jackhuang/hellominecraft/launcher/core/launch/GameLauncher.java index e803e560e4..66b780cd23 100755 --- a/HMCL/src/main/java/org/jackhuang/hellominecraft/launcher/core/launch/GameLauncher.java +++ b/HMCL/src/main/java/org/jackhuang/hellominecraft/launcher/core/launch/GameLauncher.java @@ -174,6 +174,8 @@ public File makeLauncher(String launcherName, List str) throws IOException { if (appdata != null) { writer.write("set appdata=" + appdata); writer.newLine(); + writer.write("cd %appdata%"); + writer.newLine(); } } if (StrUtils.isNotBlank(options.getPrecalledCommand())) {