diff --git a/src/connection.cpp b/src/connection.cpp index 907f0a1..c008d13 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -561,12 +561,12 @@ QString ConnectionLoader::zcashConfWritableLocation() { } QString ConnectionLoader::zcashParamsDir() { +#ifdef Q_OS_LINUX //TODO: If /usr/share/hush exists, use that. It should not be assumed writeable - #ifdef Q_OS_LINUX auto paramsLocation = QDir(QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".zcash-params")); // Debian packages do not install into per-user dirs if (!paramsLocation.exists()) { - paramsLocation = QDir("/").filePath("usr/share/hush"); + paramsLocation = QDir(QDir("/").filePath("usr/share/hush")); } #elif defined(Q_OS_DARWIN) auto paramsLocation = QDir(QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath("Library/Application Support/ZcashParams"));