mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +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)
|
djvu)
|
||||||
djvused -e print-pure-txt "${MC_EXT_FILENAME}"
|
djvused -e print-pure-txt "${MC_EXT_FILENAME}"
|
||||||
;;
|
;;
|
||||||
|
epub)
|
||||||
|
einfo -v "${MC_EXT_FILENAME}"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -158,6 +161,9 @@ do_open_action() {
|
|||||||
comic)
|
comic)
|
||||||
cbrpager "${MC_EXT_FILENAME}" &
|
cbrpager "${MC_EXT_FILENAME}" &
|
||||||
;;
|
;;
|
||||||
|
epub)
|
||||||
|
lucidor "${MC_EXT_FILENAME}" >/dev/null &
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -604,6 +604,12 @@ regex/i/\.djvu?$
|
|||||||
regex/i/\.cb[zr]$
|
regex/i/\.cb[zr]$
|
||||||
Open=@EXTHELPERSDIR@/doc.sh open comic
|
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 ###
|
### Miscellaneous ###
|
||||||
|
|
||||||
# Compiled Java classes
|
# Compiled Java classes
|
||||||
|
Loading…
Reference in New Issue
Block a user