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:
ezdiy
2020-09-02 22:44:38 +02:00
committed by GitHub
parent f8ca5166ae
commit 63e938f508

View File

@@ -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?