mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Update ExtractSru.java
Codacy changes
This commit is contained in:
parent
f395f8789e
commit
84b8f1147b
@ -118,8 +118,6 @@ final class ExtractSru extends Extract {
|
|||||||
return; //If we cannot find the srudb.dat file we cannot proceed which is ok
|
return; //If we cannot find the srudb.dat file we cannot proceed which is ok
|
||||||
}
|
}
|
||||||
|
|
||||||
String sruFileName = tempDirPath + File.separator + sruAbstractFile.getId() + "_" + sruAbstractFile.getName();
|
|
||||||
|
|
||||||
final String sruDumper = getPathForSruDumper();
|
final String sruDumper = getPathForSruDumper();
|
||||||
if (sruDumper == null) {
|
if (sruDumper == null) {
|
||||||
this.addErrorMessage(Bundle.ExtractSru_error_finding_export_srudb_program());
|
this.addErrorMessage(Bundle.ExtractSru_error_finding_export_srudb_program());
|
||||||
@ -133,6 +131,7 @@ final class ExtractSru extends Extract {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
String modOutFile = modOutPath + File.separator + sruAbstractFile.getId() + "_srudb.db3";
|
String modOutFile = modOutPath + File.separator + sruAbstractFile.getId() + "_srudb.db3";
|
||||||
|
String sruFileName = tempDirPath + File.separator + sruAbstractFile.getId() + "_" + sruAbstractFile.getName();
|
||||||
|
|
||||||
extractSruFiles(sruDumper, sruFileName, modOutFile, tempDirPath, softwareHiveFileName);
|
extractSruFiles(sruDumper, sruFileName, modOutFile, tempDirPath, softwareHiveFileName);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user