Update accounts.js

Fixes issue #62.
This commit is contained in:
newCodeRunner
2020-12-08 15:57:10 +05:00
committed by GitHub
parent 48b146f6fb
commit 92f4ea91a2

View File

@@ -13,7 +13,7 @@ class Accounts {
return path.join(os.homedir(), "Library", "Ether1", "keystore"); return path.join(os.homedir(), "Library", "Ether1", "keystore");
break; break;
default: 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; event.returnValue = true;
}); });
EthoAccounts = new Accounts(); EthoAccounts = new Accounts();