From c0444806589f0cb31ee3843f4c55b5f6a03bd9d2 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 19 Aug 2021 17:01:36 +0200 Subject: [PATCH] Don't exclude the full .kobo directory tree Only exclude the useless/dangerous bits. Allows getting to the Dropbox folder. Fix #8101 --- frontend/ui/widget/filechooser.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/ui/widget/filechooser.lua b/frontend/ui/widget/filechooser.lua index d5541dade..888510ece 100644 --- a/frontend/ui/widget/filechooser.lua +++ b/frontend/ui/widget/filechooser.lua @@ -31,7 +31,13 @@ local FileChooser = Menu:extend{ "%.sdr$", -- Kobo "^%.adobe%-digital%-editions$", - "^%.kobo$", + "^certificates$", + "^custom%-dict$", + "^dict$", + "^iink$", + "^kepub$", + "^markups$", + "^webstorage$", "^%.kobo%-images$", -- macOS "^%.fseventsd$", @@ -50,6 +56,10 @@ local FileChooser = Menu:extend{ "^%.reading%-states$", }, exclude_files = { + -- Kobo + "^BookReader%.sqlite", + "^KoboReader%.sqlite", + "^device%.salt%.conf$", -- macOS "^%.DS_Store$", -- *nix