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

Always use executable directory, not current directory #26

Closed
jonano614 opened this issue Mar 14, 2018 · 4 comments
Closed

Always use executable directory, not current directory #26

jonano614 opened this issue Mar 14, 2018 · 4 comments

Comments

@jonano614
Copy link
Contributor

xdag wallet uses current directory when tries to open wallet.dat, dnet_key.dat and storage folder. It can confuse users if xdag wallet is started not from current directory.

See example:
default
In the first case wallet is started from current directory and in the second case wallet is started not from current directory. As you can see in that case wallet offers to create a new account.

@xrdavies
Copy link
Contributor

This is due to the path on Windows as I think. On Linux dc_copy is different from DC_Copy.
Maybe need solve it only for Windows.

@jonano614
Copy link
Contributor Author

This issue is on Linux too.

@xrdavies
Copy link
Contributor

@jonano614
Okay, I will check this.

@xrdavies
Copy link
Contributor

xrdavies commented Mar 16, 2018

Issue fixed. Please find this commit

@xrdavies xrdavies reopened this Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants