Skip to content

Commit

Permalink
Packaging: add icon to exe (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts authored Jun 12, 2023
2 parents a7022c1 + e35b83c commit 809a21e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
branches: [main]
paths:
- ".github/workflows/build_release.yml"
- "builder/"
- "requirements/packaging.txt"

# Globals
env:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
- "**/*.py"
- ".github/workflows/tests.yml"
- "requirements/base.txt"
- "requirements/packaging.txt"
- "requirements/testing.txt"
- tests/fixtures/

Expand Down
3 changes: 2 additions & 1 deletion builder/pyinstaller_build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
[
"--add-data=LICENSE;.",
"--add-data=README.md;.",
"--clean",
# "--clean",
f"--icon={package_folder.parent.resolve()}/docs/static/logo_qdt.ico",
"--log-level={}".format(getenv("PYINSTALLER_LOG_LEVEL", "WARN")),
"--manifest={}".format((package_folder / "../builder/manifest.xml").resolve()),
"--name={}_{}_{}{}_Python{}-{}".format(
Expand Down
Binary file added docs/static/logo_qdt.ico
Binary file not shown.

0 comments on commit 809a21e

Please sign in to comment.