Skip to content

Commit 8645411

Browse files
committed
Fix PyInstaller build configuration and update Velopack pack directory
1 parent 941d2c0 commit 8645411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Build with PyInstaller
3333
run: |
34-
pyinstaller --onefile --windowed --name "ChiselPDF" --add-data "style.qss;." main.py
34+
pyinstaller --onedir --windowed --name "ChiselPDF" --add-data "style.qss;." main.py
3535
3636
- name: Set up .NET
3737
uses: actions/setup-dotnet@v4
@@ -49,5 +49,5 @@ jobs:
4949
run: |
5050
dotnet tool install -g vpk
5151
vpk download github --repoUrl https://github.com/${{ github.repository }} --token ${{ secrets.GITHUB_TOKEN }}
52-
vpk pack --packId ChiselPDF --packVersion ${{ steps.version.outputs.VERSION }} --packDir .\dist --mainExe ChiselPDF.exe
52+
vpk pack --packId ChiselPDF --packVersion ${{ steps.version.outputs.VERSION }} --packDir .\dist\ChiselPDF --mainExe ChiselPDF.exe
5353
vpk upload github --repoUrl https://github.com/${{ github.repository }} --publish --releaseName "ChiselPDF ${{ steps.version.outputs.VERSION }}" --tag v${{ steps.version.outputs.VERSION }} --token ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)