Use new Archiver module where applicable (#13782)

- ArchiveViewer: instead of using unzip and to support more formats
  (only CBR & RAR for now)
- NewsDownloader & Wikipedia plugins: instead of using `ZipWriter`
- device: re-implement `Device:unpackArchive` and get rid of device
  specific `untar` implementations
- readerui: instead of using unzip for document provider detection
This commit is contained in:
Benoit Pierre
2025-05-26 16:52:38 +02:00
committed by GitHub
parent ad91f074ed
commit f63c76d6d4
8 changed files with 91 additions and 115 deletions

View File

@@ -544,10 +544,6 @@ function Device:_showLightDialog()
end
end
function Device:untar(archive, extract_to)
return android.untar(archive, extract_to)
end
function Device:download(link, name, ok_text)
local ConfirmBox = require("ui/widget/confirmbox")
local InfoMessage = require("ui/widget/infomessage")