Prevent crash if the plugins directory does not exist and cannot be created.

This commit is contained in:
Ghislain MARY 2017-07-05 13:58:33 +02:00
parent 21482caabc
commit 01775fe616

View file

@ -216,7 +216,7 @@ string Paths::getPackageMsPluginsDirPath () {
}
string Paths::getPluginsDirPath () {
return ::getWritableDirPath(::getAppPluginsDirPath());
return ::getReadableDirPath(::getAppPluginsDirPath());
}
string Paths::getRootCaFilePath () {