os.geteuid() is not available on Windows.
lquyet opened this issue · comments
Le Quyet commented
if os.geteuid() != 0:
As title, I found that os.geteuid()
only works on unix-based system. Do you plan to update/upgrade this project to support Windows ?
Le Quyet commented
I found that ctypes.windll.shell32.IsUserAnAdmin() != 0
works on Windows.