From 92f4ea91a2969bcce2a13826a8f0f4391fc72ff4 Mon Sep 17 00:00:00 2001 From: newCodeRunner <57590297+newCodeRunner@users.noreply.github.com> Date: Tue, 8 Dec 2020 15:57:10 +0500 Subject: [PATCH] Update accounts.js Fixes issue #62. --- modules/accounts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/accounts.js b/modules/accounts.js index 1002a9b..c5fe1b0 100755 --- a/modules/accounts.js +++ b/modules/accounts.js @@ -13,7 +13,7 @@ class Accounts { return path.join(os.homedir(), "Library", "Ether1", "keystore"); break; default: - return path.join(process.env.APPDATA, "Ether1", "keystore"); + return path.join(process.env.APPDATA.replace('Roaming', 'Local'), "Ether1", "keystore"); } } @@ -96,4 +96,4 @@ ipcMain.on("saveAccount", (event, arg) => { event.returnValue = true; }); -EthoAccounts = new Accounts(); \ No newline at end of file +EthoAccounts = new Accounts();