lquyet opened this issue 4 years ago · 1 comments
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 ?
if os.geteuid() != 0:
os.geteuid()
I found that ctypes.windll.shell32.IsUserAnAdmin() != 0 works on Windows.
ctypes.windll.shell32.IsUserAnAdmin() != 0