forked from p15670423/monkey
Import Windows specific modules only on Windows systems
This commit is contained in:
parent
4640a760ff
commit
b4708fc2cb
|
@ -1,7 +1,10 @@
|
||||||
import ntsecuritycon
|
from monkey_island.cc.environment.utils import is_windows_os
|
||||||
import win32api
|
|
||||||
import win32con
|
if is_windows_os():
|
||||||
import win32security
|
import ntsecuritycon
|
||||||
|
import win32api
|
||||||
|
import win32con
|
||||||
|
import win32security
|
||||||
|
|
||||||
|
|
||||||
def set_full_folder_access(folder_path: str) -> None:
|
def set_full_folder_access(folder_path: str) -> None:
|
||||||
|
|
Loading…
Reference in New Issue