mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-30 14:39:56 +08:00
Do not delete soft links when exiting HMCL
This commit is contained in:
parent
9f617c33f5
commit
46385a8445
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user