From a9e9f33c15046a030845424866f433c9d21054d5 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sun, 22 Sep 2019 08:16:44 +0300 Subject: [PATCH] Update spec --- blockcheck.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/blockcheck.spec b/blockcheck.spec index e698821..7d0c5ec 100644 --- a/blockcheck.spec +++ b/blockcheck.spec @@ -13,7 +13,6 @@ hooks_r = [] if sys_os == 'linux': ca_bundle = [('./ca-certificates.crt', 'lib')] add_datas = ca_bundle - add_binaries = [('./libssl.so.1.1', '.'), ('./libcrypto.so.1.1', '.')] if sys_os == 'darwin': add_datas = [('/System/Library/Frameworks/Tk.framework/Tk', '.'), @@ -22,6 +21,9 @@ if sys_os == 'darwin': hooks_p = ['osx_hooks'] hooks_r = ['osx_hooks/loader/pyi_rth__tkinter.py'] +if sys_os == 'win32': + add_binaries = [('./libssl-1_1.dll', '.'), ('./libcrypto-1_1.dll', '.')] + block_cipher = None @@ -55,7 +57,10 @@ a.binaries -= [ ('libXss.so.1', None, None), ('libz.so.1', None, None), ('libreadline.so.6', None, None), + ('libssl-1_1.dll', None, None), + ('libcrypto-1_1.dll', None, None), ] +a.binaries += [('libcrypto-1_1.dll', 'libcrypto-1_1.dll', 'BINARY'), ('libssl-1_1.dll', 'libssl-1_1.dll', 'BINARY')] exe = EXE(pyz, a.scripts,