Skip to content

Commit

Permalink
ci: 修复未打包样式
Browse files Browse the repository at this point in the history
  • Loading branch information
shing-yu committed Nov 25, 2023
1 parent 0f713f6 commit 0ff5444
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 @@ -38,11 +38,11 @@ jobs:
- name: Build Executable
run: |
if [ "${{ matrix.os }}" == "windows-latest" ]; then
pyinstaller --onefile -n 7mao_tool_windows -i main.ico src/main.py
pyinstaller --onefile --add-data "src/assets;." -n 7mao_tool_windows -i main.ico src/main.py
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
pyinstaller --onefile -n 7mao_tool_macos -i main.ico src/main.py
pyinstaller --onefile --add-data "src/assets;." -n 7mao_tool_macos -i main.ico src/main.py
else
pyinstaller --onefile -n 7mao_tool_ubuntu -i main.ico src/main.py
pyinstaller --onefile --add-data "src/assets;." -n 7mao_tool_ubuntu -i main.ico src/main.py
fi
shell: bash

Expand Down

0 comments on commit 0ff5444

Please sign in to comment.