Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a fresh "home" every time Electrum is launched #25

Open
grayswandyr opened this issue Nov 29, 2017 · 3 comments
Open

Use a fresh "home" every time Electrum is launched #25

grayswandyr opened this issue Nov 29, 2017 · 3 comments
Assignees

Comments

@grayswandyr
Copy link
Collaborator

grayswandyr commented Nov 29, 2017

As of now, AA creates a temporary directory with always the same name for a given user. EA inherited from this.

It would be far better to use a fresh directory name at each time, otherwise interferences do happen.

It is set here:

private static synchronized String alloyHome() {

Apparently, the Java standard API proposes a method for this since Java 1.7.

@nmacedo nmacedo self-assigned this Dec 11, 2017
@nmacedo
Copy link
Member

nmacedo commented Oct 17, 2018

But then it does create a unique folder within alloyhome() for each command:

Have you witnessed any interferences?

@grayswandyr
Copy link
Collaborator Author

Well I had solving engines that were only available if I ran AA before running EA for instance.
Perhaps just not using the Alloy default foler would be enough, event if it's not a new name each time.

@nmacedo
Copy link
Member

nmacedo commented Oct 18, 2018

I believe the missing solving engines were a different issue (also related to the temporary folder) that should have been fixed for some time now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants