Skip to content

Commit 3ff4675

Browse files
author
opencode
committed
Install upx and enable compression to reduce executable size
1 parent ef3a396 commit 3ff4675

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
with:
6060
python-version: '3.8'
6161
- name: Install PortAudio
62-
run: sudo apt-get update && sudo apt-get install -y portaudio19-dev xvfb
62+
run: sudo apt-get update && sudo apt-get install -y portaudio19-dev xvfb upx-ucl
6363
- name: Install dependencies
6464
run: |
6565
python -m pip install --upgrade pip

voice_app.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ exe = EXE(
5353
debug=False,
5454
bootloader_ignore_signals=False,
5555
strip=False,
56-
upx=False,
56+
upx=True,
5757
upx_exclude=[],
5858
runtime_tmpdir=None,
5959
console=True, # Set to True for debugging

0 commit comments

Comments
 (0)