diff --git a/blockcheck.spec b/blockcheck.spec index c79c60b..754ce51 100644 --- a/blockcheck.spec +++ b/blockcheck.spec @@ -33,7 +33,8 @@ a = Analysis(['blockcheck.py'], excludes=[], win_no_prefer_redirects=False, win_private_assemblies=False, - cipher=block_cipher) + cipher=block_cipher, + noarchive=False) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) @@ -65,6 +66,25 @@ exe = EXE(pyz, upx=True, console=False ) +exe_folder = EXE(pyz, + a.scripts, + [], + name='blockcheck_folder', + exclude_binaries=True, + debug=False, + strip=False, + upx=True, + console=False ) + +coll = COLLECT(exe_folder, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='blockcheck') + if sys_os == 'darwin': app = BUNDLE(exe, name='blockcheck.app',