mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
d1d541b410
commit
95f655585b
@ -102,7 +102,7 @@ def main(args=sys.argv):
|
|||||||
main(['calibre'])
|
main(['calibre'])
|
||||||
elif opts.viewer:
|
elif opts.viewer:
|
||||||
from calibre.gui2.viewer.main import main
|
from calibre.gui2.viewer.main import main
|
||||||
vargs = ['ebook-viewer']
|
vargs = ['ebook-viewer', '--debug-javascript']
|
||||||
if len(args) > 1:
|
if len(args) > 1:
|
||||||
vargs.append(args[-1])
|
vargs.append(args[-1])
|
||||||
main(vargs)
|
main(vargs)
|
||||||
|
@ -204,6 +204,10 @@ terminal. For example, you can start the GUI from the terminal as::
|
|||||||
|
|
||||||
calibre-debug -g
|
calibre-debug -g
|
||||||
|
|
||||||
|
Similarly, you can start the ebook-viewer as::
|
||||||
|
|
||||||
|
calibre-debug -w /path/to/file/to/be/viewed
|
||||||
|
|
||||||
Executing arbitrary scripts in the calibre python environment
|
Executing arbitrary scripts in the calibre python environment
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user