mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Pocketbook: Add file associations into "Open with" menu (#6624)
We used to put koreader alone in there, but apparently other handlers can be left in as optional - see #6415
This commit is contained in:
@@ -206,7 +206,7 @@ function PocketBook:associateFileExtensions(assoc)
|
||||
local t = info[k]
|
||||
if t then
|
||||
-- A system entry exists, so just change app, and reuse the rest
|
||||
t[4] = app_name
|
||||
t[4] = app_name .. "," .. t[4]
|
||||
else
|
||||
-- Doesn't exist, so hallucinate up something
|
||||
-- TBD: We have document opener in 'v', maybe consult mime in there?
|
||||
|
||||
Reference in New Issue
Block a user