diff --git a/src/Components/LocationListItem.tsx b/src/Components/LocationListItem.tsx index 3a2a24d..699c1ff 100644 --- a/src/Components/LocationListItem.tsx +++ b/src/Components/LocationListItem.tsx @@ -32,7 +32,7 @@ const LocationListItem = ({ appSettings.baseDir ) { openInReader(link); - } else if ([".zip", ".cbz"].includes(window.path.extname(name))) { + } else if (name.includes("[ZIP file]") || name.includes("[CBZ file]")) { openInReader(link); } else setCurrentLink(link); }; diff --git a/src/Components/ReaderSettings.tsx b/src/Components/ReaderSettings.tsx index 02c6bc8..5219244 100644 --- a/src/Components/ReaderSettings.tsx +++ b/src/Components/ReaderSettings.tsx @@ -196,7 +196,9 @@ const ReaderSettings = ({