mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-30 14:39:56 +08:00
fix: missing line separator before "cd".
This commit is contained in:
parent
fd27f16714
commit
43ae5a24e5
@ -437,6 +437,7 @@ public class DefaultLauncher extends Launcher {
|
||||
writer.newLine();
|
||||
} else if (OperatingSystem.CURRENT_OS == OperatingSystem.OSX || OperatingSystem.CURRENT_OS == OperatingSystem.LINUX) {
|
||||
writer.write("#!/usr/bin/env bash");
|
||||
writer.newLine();
|
||||
writer.write(new CommandBuilder().add("cd", repository.getRunDirectory(version.getId()).getAbsolutePath()).toString());
|
||||
writer.newLine();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user