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();