mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
fix so module output goes to case db directory
This commit is contained in:
parent
499f880632
commit
a689f7dae8
@ -258,7 +258,10 @@ public final class CaseMetadata {
|
||||
* @return The case directory.
|
||||
*/
|
||||
public String getCaseDirectory() {
|
||||
return metadataFilePath.getParent().toString();
|
||||
File caseDatabaseNameFile = new File(caseDatabaseName);
|
||||
return (caseDatabaseNameFile.isAbsolute())
|
||||
? caseDatabaseNameFile.getParent()
|
||||
: metadataFilePath.getParent().toString();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user