diff --git a/src/connection.cpp b/src/connection.cpp index 0c33cd7..1e191a6 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -553,11 +553,11 @@ void ConnectionLoader::showError(QString explanation) { QString ConnectionLoader::locateHushConfFile() { #ifdef Q_OS_LINUX - auto confLocation = QStandardPaths::locate(QStandardPaths::HomeLocation, ".komodo/HUSH3/HUSH3.conf"); + auto confLocation = QStandardPaths::locate(QStandardPaths::HomeLocation, ".hush/HUSH3/HUSH3.conf"); #elif defined(Q_OS_DARWIN) - auto confLocation = QStandardPaths::locate(QStandardPaths::HomeLocation, "Library/Application Support/Komodo/HUSH3/HUSH3.conf"); + auto confLocation = QStandardPaths::locate(QStandardPaths::HomeLocation, "Library/Application Support/Hush/HUSH3/HUSH3.conf"); #else - auto confLocation = QStandardPaths::locate(QStandardPaths::AppDataLocation, "../../Komodo/HUSH3/HUSH3.conf"); + auto confLocation = QStandardPaths::locate(QStandardPaths::AppDataLocation, "../../Hush/HUSH3/HUSH3.conf"); #endif main->logger->write("Found HUSH3.conf at " + QDir::cleanPath(confLocation)); @@ -566,11 +566,11 @@ QString ConnectionLoader::locateHushConfFile() { QString ConnectionLoader::zcashConfWritableLocation() { #ifdef Q_OS_LINUX - auto confLocation = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".komodo/HUSH3/HUSH3.conf"); + auto confLocation = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".hush/HUSH3/HUSH3.conf"); #elif defined(Q_OS_DARWIN) - auto confLocation = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath("Library/Application Support/Komodo/HUSH3/HUSH3.conf"); + auto confLocation = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath("Library/Application Support/Hush/HUSH3/HUSH3.conf"); #else - auto confLocation = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("../../Komodo/HUSH3/HUSH3.conf"); + auto confLocation = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("../../Hush/HUSH3/HUSH3.conf"); #endif main->logger->write("Found HUSH3.conf at " + QDir::cleanPath(confLocation)); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 54f1513..f4bb94c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1236,23 +1236,23 @@ void MainWindow::setupPeersTab() { }); /* - //grep 'BAN THRESHOLD EXCEEDED' ~/.komodo/HUSH3/debug.log + //grep 'BAN THRESHOLD EXCEEDED' ~/.hush/HUSH3/debug.log //grep Disconnected ... QFile debuglog = ""; #ifdef Q_OS_LINUX - debuglog = "~/.komodo/HUSH3/debug.log"; + debuglog = "~/.hush/HUSH3/debug.log"; #elif defined(Q_OS_DARWIN) - debuglog = "~/Library/Application Support/Komodo/HUSH3/debug.log"; + debuglog = "~/Library/Application Support/Hush/HUSH3/debug.log"; #elif defined(Q_OS_WIN64) // "C:/Users//AppData/Roaming/", // TODO: get current username - debuglog = "C:/Users//AppData/Roaming/Komodo/HUSH3/debug.log"; + debuglog = "C:/Users//AppData/Roaming/Hush/HUSH3/debug.log"; #else // Bless Your Heart, You Like Danger! // There are open bounties to port HUSH softtware to OpenBSD and friends: // git.hush.is/hush/tasks - debuglog = "~/.komodo/HUSH3/debug.log"; + debuglog = "~/.hush/HUSH3/debug.log"; #endif // Q_OS_LINUX if(debuglog.exists()) {