mirror of https://github.com/koreader/koreader
Added detection of single kobo models. Also a script to launch koreader is included and the related Makefile changes.
parent
c423c031b3
commit
c91e3834bb
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
export LC_ALL="en_US.UTF-8"
|
||||||
|
|
||||||
|
# we're always starting from our working directory
|
||||||
|
cd /mnt/onboard/.kobo/koreader/
|
||||||
|
|
||||||
|
# export trained OCR data directory
|
||||||
|
export TESSDATA_PREFIX="data"
|
||||||
|
|
||||||
|
# export dict directory
|
||||||
|
export STARDICT_DATA_DIR="data/dict"
|
||||||
|
|
||||||
|
# stop nickel
|
||||||
|
killall nickel
|
||||||
|
|
||||||
|
# finally call reader
|
||||||
|
./reader.lua "$1" 2> crash.log
|
||||||
|
|
||||||
|
# continue with nickel
|
||||||
|
|
||||||
|
reboot
|
Loading…
Reference in New Issue