From fefb2a77f798345142fde436d0dbaf1732554f1a Mon Sep 17 00:00:00 2001 From: "patrick.pdb" Date: Tue, 17 Oct 2023 17:15:05 -0400 Subject: [PATCH] '#43 Adjust temp report folder name, as there is a method inside ilapfuncs that depends of this name. --- .../java/iped/engine/task/leappbridge/LeappBridgeTask.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iped-engine/src/main/java/iped/engine/task/leappbridge/LeappBridgeTask.java b/iped-engine/src/main/java/iped/engine/task/leappbridge/LeappBridgeTask.java index ae61768adb..cf8bc39b6f 100644 --- a/iped-engine/src/main/java/iped/engine/task/leappbridge/LeappBridgeTask.java +++ b/iped-engine/src/main/java/iped/engine/task/leappbridge/LeappBridgeTask.java @@ -52,7 +52,8 @@ public class LeappBridgeTask extends AbstractPythonTask { private static final String ALEAPP_PLUGIN = "ALEAPP:PLUGIN"; - static final String REPORT_EVIDENCE_NAME = "ALeapp_Report"; + static final String REPORT_EVIDENCE_NAME = "LEAPP_Reports"; + static final String REPORT_FOLDER_NAME = "LEAPP_Reports_"; private static final String ALEAPP_DEVICE_DETAILS = "ALEAPP:DEVICE_DETAILS"; @@ -431,7 +432,7 @@ private void processEvidence(IItem evidence, LeapArtifactsPlugin p) { tmpFileRef = tmpResources.createTemporaryFile(); tmpFileRef.deleteOnExit(); reportPath = new File(tmpFileRef.getParentFile().getAbsolutePath(), - "/leapptaskreps/" + REPORT_EVIDENCE_NAME + "_" + tmpFileRef.getName()); + "/leapptaskreps/" + REPORT_FOLDER_NAME + tmpFileRef.getName()); reportPath.mkdirs(); reportPath.deleteOnExit();