Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
ci: 支持mac图标和epub样式
Browse files Browse the repository at this point in the history
  • Loading branch information
shing-yu committed Nov 22, 2023
1 parent a018fe4 commit 7a39688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Build Executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- name: Build Executable
run: |
if [ "${{ matrix.os }}" == "windows-latest" ]; then
pyinstaller --onefile -n fanqie_tool_windows -i main.ico src/main.py
pyinstaller --onefile --add-data "src/assets;." -n fanqie_tool_windows -i main.ico src/main.py
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
pyinstaller --onefile -n fanqie_tool_macos -i main.ico src/main.py
pyinstaller --onefile --add-data "src/assets:." -n fanqie_tool_macos -i main.icns src/main.py
else
pyinstaller --onefile -n fanqie_tool_ubuntu -i main.ico src/main.py
pyinstaller --onefile --add-data "src/assets:." -n fanqie_tool_ubuntu -i main.ico src/main.py
fi
shell: bash

Expand Down

0 comments on commit 7a39688

Please sign in to comment.