From d427c222351b83e71974d9ceeb04d6cad592fdb5 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 7 Aug 2020 18:26:28 +0200 Subject: [PATCH] onedir build for catalina --- HWI.entitlements | 16 ++++++++++++++++ hwi.spec | 15 +++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 HWI.entitlements diff --git a/HWI.entitlements b/HWI.entitlements new file mode 100644 index 0000000..b5f24c5 --- /dev/null +++ b/HWI.entitlements @@ -0,0 +1,16 @@ + + + + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.disable-executable-page-protection + + com.apple.security.cs.disable-library-validation + + com.apple.security.cs.allow-dyld-environment-variables + + + \ No newline at end of file diff --git a/hwi.spec b/hwi.spec index 94b7c41..f22155d 100644 --- a/hwi.spec +++ b/hwi.spec @@ -33,14 +33,21 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE(pyz, a.scripts, - a.binaries, - a.zipfiles, - a.datas, [], - name='hwi', + exclude_binaries=True, + name='hwi', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, runtime_tmpdir=None, console=True ) +coll = COLLECT(exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='hwi') +