From f5c5df7b677e10c78bddb2defa7b392bfe42696a Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 28 Jul 2020 17:42:59 +0000 Subject: main: accountsDir runtime configuration support --- js/Wizard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/Wizard.js b/js/Wizard.js index 054b13f7..52c43a84 100644 --- a/js/Wizard.js +++ b/js/Wizard.js @@ -65,7 +65,7 @@ function createWalletPath(isIOS, folder_path,account_name){ return folder_path + "/" + account_name + "/" + account_name } -function walletPathExists(directory, filename, isIOS, walletManager) { +function walletPathExists(accountsDir, directory, filename, isIOS, walletManager) { if(!filename || filename === "") return false; if(!directory || directory === "") return false; @@ -76,7 +76,7 @@ function walletPathExists(directory, filename, isIOS, walletManager) { directory += "/" if(isIOS) - var path = moneroAccountsDir + filename; + var path = accountsDir + filename; else var path = directory + filename + "/" + filename; -- cgit v1.2.3