Missing Ascii Art Ending, Display resolution error and get-uptime alias
I know, I know this does look like a lot, but if you ignore the trailing white-spaces my vscode removes automatically when saving, the PR actually is not that much.
- I use a slightly different approach to get-uptime to address #37 and have a backwards compatible way of doing so.
- I do a check after all SystemInfoCollection was printed out to finalize the ascii art.
- I also fix #35 (at least for me). I have the assumption that the snippet
{
return Get-Display;
[...]
simply was a unseen missing deletion or copy/past mistake. So I removed it and now it is working again. Additionally I put the "if single monitor" statement above the rest to get a tiny bit of speed improvement here for single monitor users.
I hope the code style etc. is fine for you. If you want some adjustments please tell me!
I just noticed that with the .git files from the module of the Powershell store the identity got messed up. Will fix this as soon as I'm at my PC
I just noticed that with the .git files from the module of the Powershell store the identity got messed up. Will fix this as soon as I'm at my PC
I just fixed the author to me.
Can this be merged in? @JulianChow94