@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user