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,
|
data.put(key, parseLiteral(value,
|
||||||
Collections.emptyMap(),
|
Collections.emptyMap(),
|
||||||
str -> {
|
str -> {
|
||||||
Path dest = temp.resolve(str);
|
Path dest = Files.createTempFile(temp, null, null);
|
||||||
FileUtils.copyFile(fs.getPath(str), dest);
|
FileUtils.copyFile(fs.getPath(str), dest);
|
||||||
return dest.toString();
|
return dest.toString();
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user