Skip to content

Commit 7326479

Browse files
committed
Compress windows executable with UPX
1 parent da49d62 commit 7326479

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/pyinstaller.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
pip install pyinstaller
2828
pip install -r requirements.txt
2929
30+
- name: Install UPX
31+
uses: crazy-max/ghaction-upx@v3
32+
with:
33+
install-only: true
34+
3035
- name: Package application
3136
run: |
3237
pyinstaller -i icons/icon.ico -F -w --clean --log-level WARN main.py

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PySide6-Essentials==6.4.0.1
1+
PySide6-Essentials<6.4.1

res_rc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
\x00\x00\x00\x12\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\
166166
\x00\x00\x00\x00\x00\x00\x00\x00\
167167
\x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
168-
\x00\x00\x01\x8drO\xf5\xf0\
168+
\x00\x00\x01\x8eG\x87\x9f\x88\
169169
"
170170

171171
def qInitResources():

0 commit comments

Comments
 (0)