mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Fix failing renderDoc extract (#1434)
This commit is contained in:
@@ -237,9 +237,9 @@ public abstract class LoomTasks implements Runnable {
|
|||||||
task.setGroup(Constants.TaskGroup.FABRIC);
|
task.setGroup(Constants.TaskGroup.FABRIC);
|
||||||
|
|
||||||
if (operatingSystem.isWindows()) {
|
if (operatingSystem.isWindows()) {
|
||||||
task.from(getProject().zipTree(downloadRenderDoc.map(DownloadTask::getOutput)));
|
task.from(getProject().zipTree(downloadRenderDoc.flatMap(DownloadTask::getOutput)));
|
||||||
} else {
|
} else {
|
||||||
task.from(getProject().tarTree(downloadRenderDoc.map(DownloadTask::getOutput)));
|
task.from(getProject().tarTree(downloadRenderDoc.flatMap(DownloadTask::getOutput)));
|
||||||
}
|
}
|
||||||
|
|
||||||
task.into(getProject().getLayout().getBuildDirectory().dir("renderdoc"));
|
task.into(getProject().getLayout().getBuildDirectory().dir("renderdoc"));
|
||||||
|
|||||||
Reference in New Issue
Block a user