Do not delete soft links when exiting HMCL
This commit is contained in:
@@ -389,7 +389,6 @@ public class DefaultLauncher extends Launcher {
|
|||||||
if (command.tempNativeFolder != null) {
|
if (command.tempNativeFolder != null) {
|
||||||
Files.deleteIfExists(command.tempNativeFolder);
|
Files.deleteIfExists(command.tempNativeFolder);
|
||||||
Files.createSymbolicLink(command.tempNativeFolder, nativeFolder.toPath().toAbsolutePath());
|
Files.createSymbolicLink(command.tempNativeFolder, nativeFolder.toPath().toAbsolutePath());
|
||||||
command.tempNativeFolder.toFile().deleteOnExit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rawCommandLine.stream().anyMatch(StringUtils::isBlank)) {
|
if (rawCommandLine.stream().anyMatch(StringUtils::isBlank)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user