mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #2739: add support of epub format.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
fa3c7e71a8
commit
72db209691
@ -69,6 +69,9 @@ do_view_action() {
|
||||
djvu)
|
||||
djvused -e print-pure-txt "${MC_EXT_FILENAME}"
|
||||
;;
|
||||
epub)
|
||||
einfo -v "${MC_EXT_FILENAME}"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
@ -158,6 +161,9 @@ do_open_action() {
|
||||
comic)
|
||||
cbrpager "${MC_EXT_FILENAME}" &
|
||||
;;
|
||||
epub)
|
||||
lucidor "${MC_EXT_FILENAME}" >/dev/null &
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
@ -604,6 +604,12 @@ regex/i/\.djvu?$
|
||||
regex/i/\.cb[zr]$
|
||||
Open=@EXTHELPERSDIR@/doc.sh open comic
|
||||
|
||||
# Epub
|
||||
shell/i/.epub
|
||||
Open=@EXTHELPERSDIR@/doc.sh open epub
|
||||
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view epub
|
||||
|
||||
|
||||
### Miscellaneous ###
|
||||
|
||||
# Compiled Java classes
|
||||
|
Loading…
Reference in New Issue
Block a user