Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Feb 17, 2024
1 parent ef374e1 commit 9cff327
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pyinstaller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pyinstaller
on:
push:
branches:
- master
- test

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions standalone.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +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 'api-ms-win-' in x[1]]
a.datas += Tree('cdn', prefix='cdn')
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
Expand All @@ -33,9 +34,9 @@ exe = EXE(pyz,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=['greenlet\\*.pyd', '_uuid.pyd', 'python3.dll', 'api-ms-win-*.dll'],
upx_exclude=['greenlet\\*.pyd', '_uuid.pyd', 'python3.dll'],
runtime_tmpdir=None,
console=True )
console=True)

import subprocess
subprocess.call(['C:\\Program Files (x86)\\Windows Kits\\10\\App Certification Kit\\signtool.exe', 'sign',
Expand Down

0 comments on commit 9cff327

Please sign in to comment.