mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-18 16:26:05 -04:00
Fix #540
This commit is contained in:
parent
6fb3610bcc
commit
300efb99d2
@ -143,7 +143,7 @@ public class ForgeNewInstallTask extends TaskResult<Version> {
|
||||
data.put(key, parseLiteral(value,
|
||||
Collections.emptyMap(),
|
||||
str -> {
|
||||
Path dest = temp.resolve(str);
|
||||
Path dest = Files.createTempFile(temp, null, null);
|
||||
FileUtils.copyFile(fs.getPath(str), dest);
|
||||
return dest.toString();
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user