sending changes to windows

This commit is contained in:
Andrew 2021-11-29 17:12:25 -05:00
parent 79284a9094
commit 1625883a7b

View File

@ -340,7 +340,8 @@ class Helpers:
return False
def checkRoot(self):
if helper.is_os_windows():
print(self.is_os_windows())
if self.is_os_windows():
if ctypes.windll.shell32.IsUserAnAdmin() == 0:
return True
else: