mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-09 14:49:32 +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.
|
* @return The case directory.
|
||||||
*/
|
*/
|
||||||
public String getCaseDirectory() {
|
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