mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 17:18:43 +02:00
Portable mode: accept 'portable.txt'
This commit is contained in:
@@ -168,9 +168,9 @@ Config::Config(QObject* parent)
|
||||
}
|
||||
|
||||
QDir Config::defaultConfigDir() {
|
||||
QString portablePath = QCoreApplication::applicationDirPath().append("/%1");
|
||||
if (QFile::exists(portablePath.arg(".portable")) || QFile::exists(portablePath.arg(".portable.txt"))) {
|
||||
return portablePath.arg("feather_data");
|
||||
QString portablePath = QCoreApplication::applicationDirPath();
|
||||
if (Utils::portableFileExists(portablePath)) {
|
||||
return portablePath + "/feather_data";
|
||||
}
|
||||
|
||||
if (TailsOS::detect()) {
|
||||
|
||||
Reference in New Issue
Block a user