Do not delete soft links when exiting HMCL

This commit is contained in:
Glavo 2021-10-30 22:53:07 +08:00 committed by Yuhui Huang
parent 9f617c33f5
commit 46385a8445

View File

@ -389,7 +389,6 @@ public class DefaultLauncher extends Launcher {
if (command.tempNativeFolder != null) {
Files.deleteIfExists(command.tempNativeFolder);
Files.createSymbolicLink(command.tempNativeFolder, nativeFolder.toPath().toAbsolutePath());
command.tempNativeFolder.toFile().deleteOnExit();
}
if (rawCommandLine.stream().anyMatch(StringUtils::isBlank)) {