forked from p15670423/monkey
Minor readability changes in config service
This commit is contained in:
parent
002447e749
commit
fe236ebc05
|
@ -15,7 +15,7 @@ def main():
|
||||||
a = Analysis(['main.py'],
|
a = Analysis(['main.py'],
|
||||||
pathex=['..'],
|
pathex=['..'],
|
||||||
hiddenimports=get_hidden_imports(),
|
hiddenimports=get_hidden_imports(),
|
||||||
hookspath=None,
|
hookspath=['./pyinstaller_hooks'],
|
||||||
runtime_hooks=None,
|
runtime_hooks=None,
|
||||||
binaries=None,
|
binaries=None,
|
||||||
datas=None,
|
datas=None,
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
from PyInstaller.utils.hooks import collect_submodules, collect_data_files
|
||||||
|
|
||||||
|
# Import all actions as modules
|
||||||
|
hiddenimports = collect_submodules('infection_monkey.post_breach.actions')
|
||||||
|
# Add action files that we enumerate
|
||||||
|
datas = (collect_data_files('infection_monkey.post_breach.actions', include_py_files=True))
|
Loading…
Reference in New Issue