From 6f2edac87f8b398f45b031ea8bad110c56ada707 Mon Sep 17 00:00:00 2001
From: troyeguo <13820674+troyeguo@users.noreply.github.com>
Date: Sat, 11 Feb 2023 22:21:14 +0800
Subject: [PATCH] fix bug
Former-commit-id: be51c7f1d4daafa61b50944fa787586a17517f4f
---
README.md | 6 +-
README_cn.md | 9 +-
README_pt.md | 6 +-
public/index.html | 6 +-
public/lib/7z-wasm/7zz.wasm | Bin 0 -> 1871731 bytes
public/lib/EpubJS/epub.min.js | 1 -
public/lib/kookit/kookit.umd.js | 12 +-
public/lib/libunrar/Promise.min.js | 2 +
public/lib/libunrar/libunrar.js | 525 ++
public/lib/libunrar/libunrar.wasm | Bin 0 -> 173799 bytes
public/lib/libunrar/rpc.js | 174 +
public/lib/libunrar/worker.js | 40 +
public/lib/unrar/unrar.js | 4676 -----------------
src/components/emptyCover/index.tsx | 3 +-
src/components/importLocal/component.tsx | 12 +-
src/constants/mimetype.tsx | 3 +-
src/containers/htmlViewer/component.tsx | 10 +-
.../lists/contentList/component.tsx | 2 -
src/router/index.tsx | 3 +
src/utils/commonUtil.tsx | 5 +
src/utils/fileUtils/bookUtil.tsx | 8 +-
src/utils/readUtils/recordLocation.tsx | 5 +-
22 files changed, 788 insertions(+), 4720 deletions(-)
create mode 100644 public/lib/7z-wasm/7zz.wasm
delete mode 100644 public/lib/EpubJS/epub.min.js
create mode 100644 public/lib/libunrar/Promise.min.js
create mode 100644 public/lib/libunrar/libunrar.js
create mode 100644 public/lib/libunrar/libunrar.wasm
create mode 100644 public/lib/libunrar/rpc.js
create mode 100644 public/lib/libunrar/worker.js
delete mode 100644 public/lib/unrar/unrar.js
diff --git a/README.md b/README.md
index d185976d..6866c614 100644
--- a/README.md
+++ b/README.md
@@ -33,12 +33,12 @@
- Format support:
- EPUB (**.epub**)
- Scanned document (**.pdf**, **.djvu**)
- - DRM-free Mobipocket (**.mobi**) and Kindle (**.azw3**)
+ - DRM-free Mobipocket (**.mobi**) and Kindle (**.azw3**, **.azw**)
- Plain text (**.txt**)
- FictionBook (**.fb2**)
- - Comic book archive (**.cbr**, **.cbz**, **.cbt**)
+ - Comic book archive (**.cbr**, **.cbz**, **.cbt**, **.cb7**)
- Rich text (**.md**, **.docx**, **.rtf**)
- - Hyper Text (**.html**, **.xml**, **.xhtml**, **.htm**)
+ - Hyper Text (**.html**, **.xml**, **.xhtml**, **.htm**, **.htm**)
- Platform support: **Windows**, **macOS**, **Linux** and **Web**
- Save your data to **Dropbox** or **Webdav**
- Customize the source folder and synchronize among multiple devices using OneDrive, iCloud, Dropbox, etc.
diff --git a/README_cn.md b/README_cn.md
index 9c6c07e8..c321d697 100644
--- a/README_cn.md
+++ b/README_cn.md
@@ -34,12 +34,12 @@
- 支持阅读格式:
- EPUB (**.epub**)
- 扫描文档 (**.pdf**, **.djvu**)
- - Kindle (**.azw3**, **.mobi**)
+ - Kindle (**.azw3**, **.mobi**, **.azw**)
- 纯文本 (**.txt**)
- - 漫画 (**.cbr**, **.cbz**, **.cbt**)
+ - 漫画 (**.cbr**, **.cbz**, **.cbt**, **.cb7**)
- 富文本 (**.md**, **.docx**, **.rtf**)
- FB2 (**.fb2**)
- - 超文本 (**.html**, **.xml**, **.xhtml**, **.htm**)
+ - 超文本 (**.html**, **.xml**, **.xhtml**, **.htm**, **.htm**)
- 支持 **Windows**,**macOS**,**Linux** 和 **网页版**
- 备份数据到 **Dropbox** 和 **Webdav**
- 自定义源文件夹,利用 OneDrive、百度网盘、iCloud、Dropbox 等进行多设备同步
@@ -64,7 +64,8 @@ scoop install dorado/koodo-reader
- 使用 Winget 安装:
--
+-
+
```shell
winget install -e AppbyTroye.KoodoReader
```
diff --git a/README_pt.md b/README_pt.md
index 617f8473..6c7f37c2 100644
--- a/README_pt.md
+++ b/README_pt.md
@@ -33,12 +33,12 @@
- Formatos suportados:
- EPUB (**.epub**)
- Documento scaneados (**.pdf**, **.djvu**)
- - Formato sem DRM (**.mobi**) e Kindle (**.azw3**)
+ - Formato sem DRM (**.mobi**) e Kindle (**.azw3**, **.azw**)
- Texto puro (**.txt**)
- FictionBook (**.fb2**)
- - Arquivo de quadrinhos (**.cbr**, **.cbz**, **.cbt**)
+ - Arquivo de quadrinhos (**.cbr**, **.cbz**, **.cbt**, **.cb7**)
- Texto rico (**.md**, **.docx**, **.rtf**)
- - Hiper texto (**.html**, **.xml**, **.xhtml**, **.htm**)
+ - Hiper texto (**.html**, **.xml**, **.xhtml**, **.htm**, **.htm**)
- Plataformas suportadas : **Windows**, **macOS**, **Linux** e **Web**
- Guarde seus dados no **Dropbox** ou **Webdav**
- Personalize a pasta de origem e sincronize entre varios dispositivos usando OneDrive, iCloud, Dropbox, etc..
diff --git a/public/index.html b/public/index.html
index c4f25fa2..208584a7 100644
--- a/public/index.html
+++ b/public/index.html
@@ -50,7 +50,7 @@
>
-