mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-28 03:38:53 +01:00
Allow .portable.txt for portable mode
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user