From 9f5e44670183d046054f87b4820bf5d1b35b3b12 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 12 Aug 2017 14:39:02 +0200 Subject: [PATCH] [fix] DataStorage: create data/dict to prevent Android crash ``` 08-12 14:32:17.325 9188 9216 E luajit-launcher: Failed to run script: frontend/util.lua:291: cannot open /storage/emulated/0/koreader/data/dict: No such file or directory 08-12 14:32:17.333 9188 9216 V threaded_app: android_app_destroy! ``` --- datastorage.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastorage.lua b/datastorage.lua index e57f0ff99..6ae3302d5 100644 --- a/datastorage.lua +++ b/datastorage.lua @@ -35,7 +35,7 @@ end local function initDataDir() local sub_data_dirs = { - "cache", "clipboard", "data", "history", + "cache", "clipboard", "data", "data/dict", "history", "ota", "screenshots", "settings", } for _, dir in ipairs(sub_data_dirs) do