Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Conversation

@niklas2810
Copy link
Contributor

While using eDEX-UI on Windows, I noticed that my name did not appear at startup. I searched for solutions and the best suitable in my mind is the username library, because it is lightweight and very simple to use.

It has a lot of fallback methods to get a username and runs just fine on Linux, Windows and macOS. It would be super cool if you could take this method into consideration!

Kind Regards,
Niklas

Signed-off-by: Chromecube <chromecube@t-online.de>
@GitSquared
Copy link
Owner

Sindre Sorhus strikes again!
Dependency tree is shallow enough, no security issues, backed by mr. Open-source himself: that's a 👍 for me.

I'm just going to quick-edit the PR to keep the async error handling structure we had, since username supports Promises.

Thanks for this!

@niklas2810
Copy link
Contributor Author

No Problem, glad to help!

@GitSquared GitSquared merged commit 122c46c into GitSquared:master Mar 24, 2019
@niklas2810 niklas2810 deleted the improvement/username branch March 24, 2019 10:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants