mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
portable mode: reset wallet dir on start
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
||||
|
||||
// Setup wallet directory
|
||||
QString walletDir = config()->get(Config::walletDirectory).toString();
|
||||
if (walletDir.isEmpty()) {
|
||||
if (walletDir.isEmpty() || Utils::isPortableMode()) {
|
||||
walletDir = Utils::defaultWalletDir();
|
||||
config()->set(Config::walletDirectory, walletDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user