Merge pull request #63 from newCodeRunner/patch-1

Update accounts.js
This commit is contained in:
Ethan van Ballegooyen
2020-12-08 13:13:23 +02:00
committed by GitHub

View File

@@ -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();
EthoAccounts = new Accounts();