File scan improvements

* Support more versions of RAR signatures & file listings
* Better FILE_ID.DIZ, NFO, etc. extraction
This commit is contained in:
Bryan Ashby 2019-02-02 19:04:36 -07:00
parent 8ba80426e3
commit 50c1a60838
2 changed files with 17 additions and 6 deletions

View file

@ -354,8 +354,8 @@ function extractAndProcessDescFiles(fileEntry, filePath, archiveEntries, cb) {
}
const descFiles = {
desc : shortDescFile ? paths.join(tempDir, shortDescFile.fileName) : null,
descLong : longDescFile ? paths.join(tempDir, longDescFile.fileName) : null,
desc : shortDescFile ? paths.join(tempDir, paths.basename(shortDescFile.fileName)) : null,
descLong : longDescFile ? paths.join(tempDir, paths.basename(longDescFile.fileName)) : null,
};
return callback(null, descFiles);