Skip to content

Commit

Permalink
feat: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Aug 17, 2024
1 parent 0cf5ad8 commit f62004c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,12 @@ jobs:
elif ${{ matrix.os == 'macos-latest' }}
then
icon_filename="logo.icns"
fi
pyinstaller --onedir --contents-directory . --clean --windowed --name LDDC --specpath dist/spec --distpath dist/dist --workpath dist/build --icon $(pwd)/res/img/icon/$icon_filename LDDC.py
if [[ ${{ matrix.arch }} == 'x64' ]]; then
target_arch="x86_64"
elif [[ ${{ matrix.arch }} == 'arm64' ]]; then
target_arch="arm64"
fi
pyinstaller --onedir --contents-directory . --clean --windowed --name LDDC --specpath dist/spec --distpath dist/dist --workpath dist/build --icon $(pwd)/res/img/icon/$icon_filename --target-arch $target_arch LDDC.py
- name: create dmg
if: ${{ matrix.os == 'macos-latest' }}
Expand Down

0 comments on commit f62004c

Please sign in to comment.