🔧 Added a cb7 format

This commit is contained in:
2022-04-04 13:32:21 -07:00
parent 9a260c5277
commit 1d295fcafc

View File

@@ -229,7 +229,6 @@ export const extractComicInfoXMLFromZip = async (
false false
); );
console.log("ENDHAAA", extractionTargets);
// ComicInfoXML detection, parsing and conversion to JSON // ComicInfoXML detection, parsing and conversion to JSON
// Write ComicInfo.xml to disk // Write ComicInfo.xml to disk
let comicinfostring = ""; let comicinfostring = "";
@@ -306,6 +305,7 @@ export const extractFromArchive = async (filePath: string) => {
const { extension } = getFileConstituents(filePath); const { extension } = getFileConstituents(filePath);
switch (extension) { switch (extension) {
case ".cbz": case ".cbz":
case ".cb7":
console.log( console.log(
"Detected file type is cbz, looking for comicinfo.xml..." "Detected file type is cbz, looking for comicinfo.xml..."
); );