diff --git a/standalone.spec b/standalone.spec index 5e787474..5ed538d0 100644 --- a/standalone.spec +++ b/standalone.spec @@ -19,7 +19,7 @@ a = Analysis(['standalone.py'], win_private_assemblies=False, cipher=block_cipher, noarchive=False) -a.binaries = [x for x in a.binaries if not os.path.dirname(x[1]).startswith("C:\\hostedtoolcache\\windows")] +a.binaries = [x for x in a.binaries if not 'Java_Temurin-Hotspot_jdk' in x[1]] a.datas += Tree('cdn', prefix='cdn') pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) @@ -34,7 +34,7 @@ exe = EXE(pyz, bootloader_ignore_signals=False, strip=False, upx=True, - upx_exclude=['greenlet\\*.pyd'], + upx_exclude=['greenlet\\*.pyd', '_uuid.pyd', 'python3.dll'], runtime_tmpdir=None, console=True )