mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
stardict path override
This commit is contained in:
committed by
Martín Fernández
parent
9a789335c3
commit
f756a6aaa7
@@ -101,7 +101,8 @@ end
|
||||
|
||||
function ReaderDictionary:init()
|
||||
self.ui.menu:registerToMainMenu(self)
|
||||
self.data_dir = os.getenv("STARDICT_DATA_DIR") or
|
||||
self.data_dir = STARDICT_DATA_DIR or
|
||||
os.getenv("STARDICT_DATA_DIR") or
|
||||
DataStorage:getDataDir() .. "/data/dict"
|
||||
|
||||
-- Gather info about available dictionaries
|
||||
|
||||
Reference in New Issue
Block a user