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
reviewable/pr6627/r1
ezdiy 4 years ago committed by GitHub
parent f8ca5166ae
commit 63e938f508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save