diff --git a/src/utils/Utils.cpp b/src/utils/Utils.cpp index 6bbe9580..f754c0fb 100644 --- a/src/utils/Utils.cpp +++ b/src/utils/Utils.cpp @@ -100,7 +100,7 @@ bool dirExists(const QString &path) { QString defaultWalletDir() { QString portablePath = QCoreApplication::applicationDirPath().append("/%1"); - if (QFile::exists(portablePath.arg(".portable"))) { + if (QFile::exists(portablePath.arg(".portable")) || QFile::exists(portablePath.arg(".portable.txt"))) { return portablePath.arg("feather_data/wallets"); } diff --git a/src/utils/config.cpp b/src/utils/config.cpp index 2e434ea5..51f17ad2 100644 --- a/src/utils/config.cpp +++ b/src/utils/config.cpp @@ -158,7 +158,7 @@ Config::Config(QObject* parent) QDir Config::defaultConfigDir() { QString portablePath = QCoreApplication::applicationDirPath().append("/%1"); - if (QFile::exists(portablePath.arg(".portable"))) { + if (QFile::exists(portablePath.arg(".portable")) || QFile::exists(portablePath.arg(".portable.txt"))) { return portablePath.arg("feather_data"); }