mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
本地书籍无权限则保存到自己选定的文件夹
This commit is contained in:
parent
818bda53ac
commit
d3c8530556
@ -44,10 +44,12 @@ class TextFile(private val book: Book) {
|
||||
}
|
||||
analyze(fd, book, rulePattern)
|
||||
} finally {
|
||||
if (fd.valid()) {
|
||||
Os.close(fd)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Throws(FileNotFoundException::class)
|
||||
private fun analyze(
|
||||
|
Loading…
Reference in New Issue
Block a user