Skip to content

Commit

Permalink
Compress windows executable with UPX
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodCoder666 committed Mar 23, 2024
1 parent da49d62 commit 7326479
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
pip install pyinstaller
pip install -r requirements.txt
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true

- name: Package application
run: |
pyinstaller -i icons/icon.ico -F -w --clean --log-level WARN main.py
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PySide6-Essentials==6.4.0.1
PySide6-Essentials<6.4.1
2 changes: 1 addition & 1 deletion res_rc.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
\x00\x00\x00\x12\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x8drO\xf5\xf0\
\x00\x00\x01\x8eG\x87\x9f\x88\
"

def qInitResources():
Expand Down

0 comments on commit 7326479

Please sign in to comment.