From f39a9e89c67ee1d62b0f1e0e40c786fcfd44cc15 Mon Sep 17 00:00:00 2001 From: adam-m Date: Tue, 25 Jun 2013 16:12:34 -0400 Subject: [PATCH] fix location of report branding folder --- Core/src/org/sleuthkit/autopsy/report/ReportBranding.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/report/ReportBranding.java b/Core/src/org/sleuthkit/autopsy/report/ReportBranding.java index 882db9d980..211b3c0863 100644 --- a/Core/src/org/sleuthkit/autopsy/report/ReportBranding.java +++ b/Core/src/org/sleuthkit/autopsy/report/ReportBranding.java @@ -28,6 +28,7 @@ import java.util.logging.Logger; import org.openide.filesystems.FileUtil; import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.coreutils.ModuleSettings; +import org.sleuthkit.autopsy.coreutils.PlatformUtil; /** * Manages settings configured report branding and their defaults. @@ -53,7 +54,8 @@ public final class ReportBranding implements ReportBrandingProviderI { //initialize with extracting of resource files if needed, ensure 1 writer at a time synchronized (ReportBranding.class) { - reportsBrandingDir = Case.getCurrentCase().getCaseDirectory() + File.separator + ReportGenerator.REPORTS_DIR + File.separator + + reportsBrandingDir = PlatformUtil.getUserConfigDirectory() + File.separator + ReportGenerator.REPORTS_DIR + File.separator + "branding"; File brandingDir = new File(reportsBrandingDir); if (!brandingDir.exists()) {