From 21847dfb40797c60eb450604e8eb18f8f3f32f65 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Fri, 5 Jun 2020 02:39:58 +0200 Subject: [PATCH] Don't exit KUAL on the Voyage (#6233) This should allow WhisperTouch support to stay enabled, allowing consistent button behavior. c.f., https://github.com/koreader/koreader/issues/6038#issuecomment-612564693 Fix #6038 (Requires today's KUAL build, Booklet only). --- platform/kindle/extensions/koreader/menu.json | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/platform/kindle/extensions/koreader/menu.json b/platform/kindle/extensions/koreader/menu.json index 5be795ed5..b1cd0a83b 100644 --- a/platform/kindle/extensions/koreader/menu.json +++ b/platform/kindle/extensions/koreader/menu.json @@ -6,17 +6,39 @@ "items": [ { "name": "Start the filemanager", + "if": "\"KindleVoyage\" -m!", "priority": 1, "action": "/mnt/us/koreader/koreader.sh", "params": "--kual /mnt/us/documents", "status": false, "internal": "status Start KOReader on the File Manager" }, + { + "name": "Start the filemanager", + "if": "\"KindleVoyage\" -m", + "priority": 1, + "action": "/mnt/us/koreader/koreader.sh", + "params": "--kual /mnt/us/documents", + "exitmenu": false, + "status": false, + "internal": "status Start KOReader on the File Manager" + }, + { + "name": "Open the last document", + "if": "\"KindleVoyage\" -m!", + "priority": 2, + "action": "/mnt/us/koreader/koreader.sh", + "params": "--kual", + "status": false, + "internal": "status Start KOReader on the last document" + }, { "name": "Open the last document", + "if": "\"KindleVoyage\" -m", "priority": 2, "action": "/mnt/us/koreader/koreader.sh", "params": "--kual", + "exitmenu": false, "status": false, "internal": "status Start KOReader on the last document" }, @@ -40,17 +62,39 @@ }, { "name": "Start the filemanager (ASAP)", + "if": "\"KindleVoyage\" -m!", "priority": 5, "action": "/mnt/us/koreader/koreader.sh", "params": "--kual --asap /mnt/us/documents", "status": false, "internal": "status Start KOreader on the File Manager ASAP" }, + { + "name": "Start the filemanager (ASAP)", + "if": "\"KindleVoyage\" -m", + "priority": 5, + "action": "/mnt/us/koreader/koreader.sh", + "params": "--kual --asap /mnt/us/documents", + "exitmenu": false, + "status": false, + "internal": "status Start KOreader on the File Manager ASAP" + }, + { + "name": "Open the last document (ASAP)", + "if": "\"KindleVoyage\" -m!", + "priority": 6, + "action": "/mnt/us/koreader/koreader.sh", + "params": "--kual --asap", + "status": false, + "internal": "status Start KOreader on the last document ASAP" + }, { "name": "Open the last document (ASAP)", + "if": "\"KindleVoyage\" -m", "priority": 6, "action": "/mnt/us/koreader/koreader.sh", "params": "--kual --asap", + "exitmenu": false, "status": false, "internal": "status Start KOreader on the last document ASAP" },