woodruffw / screenfetch-c

A rewrite of screenFetch in C.
MIT License
73 stars 17 forks source link

win32: use GetDiskFreeSpaceEx() to get disk size #30

Closed darealshinji closed 8 years ago

darealshinji commented 8 years ago

popen() is still used to get the drive letter of the disk where the root directory is installed on. The command cygpath is also available in MSYS2. Output for me is Disk: 31G / 194G (16%) [C:\]

woodruffw commented 8 years ago

Merged; thanks.