Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Commit

Permalink
add whisper touch support for Kindle Voyage
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Apr 15, 2015
1 parent 7d4d5d9 commit 584cb75
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-04-15 10:57 chrox

* add whisper touch support for Kindle Voyage

2014-11-27 20:32 chrox

* add support for firmware version 5.6.1
Expand Down
3 changes: 2 additions & 1 deletion build-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

HACKNAME="kpvbooklet"
PKGNAME="${HACKNAME}"
PKGVER="0.5.8"
PKGVER="0.6.0"

# We need kindletool (https://github.com/NiLuJe/KindleTool) in $PATH
if (( $(kindletool version | wc -l) == 1 )) ; then
Expand All @@ -28,6 +28,7 @@ fi
cp -f install.ffs build/install/install.ffs
cp -f build/jar/KPVBooklet.jar build/install/KPVBooklet.jar
cp -f mimes.install.sql build/install/mimes.install.sql
cp -f whispertouch.install.sql build/install/whispertouch.install.sql

cp -f uninstall.ffs build/uninstall/uninstall.ffs
cp -f mimes.uninstall.sql build/uninstall/mimes.uninstall.sql
Expand Down
8 changes: 8 additions & 0 deletions install.ffs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ fi
progress 40 "Updating appreg.db"
sqlite3 /var/local/appreg.db < mimes.install.sql

if [ "$VERSION" \> "5.6" ]; then
WHISPERTOUCH=`sqlite3 /var/local/appreg.db .dump|grep "'whisper-touch','supported'"|wc -l`
if [ "$WHISPERTOUCH" \> 0 ]; then
progress 50 "Enable whisper touch for Kindle Voyage"
sqlite3 /var/local/appreg.db < whispertouch.install.sql
fi
fi

if [ "$VERSION" \> "5.4" ]; then
progress 70 "Creating the userstore exec flag file"
touch "/MNTUS_EXEC"
Expand Down
1 change: 1 addition & 0 deletions whispertouch.install.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INSERT OR IGNORE INTO "properties" VALUES('com.github.koreader.kpvbooklet','whisper-touch','supported');

0 comments on commit 584cb75

Please # to comment.