Skip to content

Commit 01b77f1

Browse files
committed
Merge pull request HMCL-dev#71 from Cat7373/master
Windows 启动脚本中允许跨分区 cd
2 parents ab1ca18 + 840a0ad commit 01b77f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • HMCL/src/core/java/org/jackhuang/hellominecraft/launcher/core/launch

HMCL/src/core/java/org/jackhuang/hellominecraft/launcher/core/launch/GameLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public File makeLauncher(String launcherName, List str) throws IOException {
175175
if (appdata != null) {
176176
writer.write("set appdata=" + appdata);
177177
writer.newLine();
178-
writer.write("cd %appdata%");
178+
writer.write("cd /D %appdata%");
179179
writer.newLine();
180180
}
181181
}

0 commit comments

Comments
 (0)