Skip to content

Commit

Permalink
Merge pull request #372 from RamiAwar/fix/win-bundle
Browse files Browse the repository at this point in the history
Fix windows spec
  • Loading branch information
RamiAwar authored Jan 28, 2025
2 parents a03ffce + c173840 commit 248b93a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ jobs:
run: uv sync --no-dev --frozen
- name: Run pyinstaller
run: |
uv run --no-sync --with pyinstaller==6.11.0 pyinstaller --clean --distpath win64_dist -y windows.spec
uv run --no-sync --with pyinstaller==6.11.1 pyinstaller --clean --distpath ../win64_dist -y windows.spec
- uses: actions/upload-artifact@v4
with:
name: dataline-windows
# default workdir is only for runs, here we are using "uses" so it does not apply
path: build/windows
path: win64_dist/
overwrite: true

bundle-macos:
Expand Down
9 changes: 9 additions & 0 deletions backend/windows.spec
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,12 @@ exe = EXE(
entitlements_file=None,
icon=['../images/logo.ico'],
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='dataline',
)

0 comments on commit 248b93a

Please sign in to comment.