-
Notifications
You must be signed in to change notification settings - Fork 82
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
Rewrote disk_info to use Windows API calls instead of WMIC. Renamed o… #94
Conversation
I'm only getting C: drive's information when ShowDisks is set to *. It showed all three (C:, D:, E:) before. |
Interesting… Not sure what caused that because I was able to get an array of all the disks in my system, even my USB hub’s attachment points. I must have forgotten to actually show all disks and figures only C: chowed up because it was the only one with media in it. |
Hmm. All 3 of my drives have significant usage so this is probably something that we'll have to fix before this is merged. |
Yes, it most definitely is. I am in the middle of some sleuthing around and I have found that my method of checking if the array |
…e working entirely.
Running the same loop that checks the disk usage in winfetch at the terminal works, though it fails inside winfetch. No idea why. |
Great! It's working slick now. If you have a Win 7 machine or VM lying around, please test it there. If there are no problems, we can get rid of the |
I lack a win7 machine. I’ll ask around and see if I know someone who does and if I can find someone I’ll see if they are ok with testing it. |
Just tested it in a VM, works fine. Please remove the old function. |
Will do 👍 |
Great, thanks for the awesome contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, seems to work perfectly and is even faster than before 👍
Thank you! Happy to have been able to help! |
…ld disk_info to disk_info_CIM.
Fixes #93