Place downloadable resources in one dir
This commit is contained in:
parent
7b1d7b9eeb
commit
c26d9a0924
@ -326,9 +326,10 @@ void Settings::setPortable(bool isPortable)
|
||||
isPortable_ = isPortable;
|
||||
|
||||
const auto baseDataPath =
|
||||
isPortable
|
||||
? QDir().absolutePath()
|
||||
: QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
|
||||
(isPortable ? QDir().absolutePath()
|
||||
: QStandardPaths::writableLocation(
|
||||
QStandardPaths::AppDataLocation)) +
|
||||
"/assets";
|
||||
tessdataPath = baseDataPath + "/tessdata";
|
||||
translatorsDir = baseDataPath + "/translators";
|
||||
hunspellDir = baseDataPath + "/hunspell";
|
||||
|
Loading…
Reference in New Issue
Block a user