diff options
| author | xiphon <xiphon@protonmail.com> | 2020-07-28 17:42:59 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-09-28 13:54:02 +0000 |
| commit | f5c5df7b677e10c78bddb2defa7b392bfe42696a (patch) | |
| tree | 6f3a0923cef982f44a43916c3b6ade440cc86994 /js | |
| parent | c137a6ea36040aee20366933935805eff67ae3f8 (diff) | |
| download | monzero-gui-f5c5df7b677e10c78bddb2defa7b392bfe42696a.tar.gz monzero-gui-f5c5df7b677e10c78bddb2defa7b392bfe42696a.tar.xz monzero-gui-f5c5df7b677e10c78bddb2defa7b392bfe42696a.zip | |
main: accountsDir runtime configuration support
Diffstat (limited to 'js')
| -rw-r--r-- | js/Wizard.js | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
