Skip to content

Commit

Permalink
CI: use console for debug version
Browse files Browse the repository at this point in the history
  • Loading branch information
itsHenry35 committed Sep 24, 2023
1 parent e812353 commit ffb18ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Build and rename the artifact
run: |
pyinstaller --noconfirm --onefile --windowed --icon "D:/a/ledu/ledu/ledu.ico" --add-data "D:/a/ledu/ledu/bin/aria2c_win.exe;bin/" "D:/a/ledu/ledu/main.py"
pyinstaller --noconfirm --onefile --console --icon "D:/a/ledu/ledu/ledu.ico" --add-data "D:/a/ledu/ledu/bin/aria2c_win.exe;bin/" "D:/a/ledu/ledu/main.py"
ren D:\a\ledu\ledu\dist\main.exe D:\a\ledu\ledu\dist\ledu_download_win64.exe
- name: Upload
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Build and rename the artifact
run: |
pyinstaller --noconfirm --onefile --windowed --icon "/home/runner/work/ledu/ledu/ledu.ico" --add-data "/home/runner/work/ledu/ledu/bin/aria2c_linux_amd64:bin/" "/home/runner/work/ledu/ledu/main.py"
pyinstaller --noconfirm --onefile --console --icon "/home/runner/work/ledu/ledu/ledu.ico" --add-data "/home/runner/work/ledu/ledu/bin/aria2c_linux_amd64:bin/" "/home/runner/work/ledu/ledu/main.py"
mv /home/runner/work/ledu/ledu/dist/main /home/runner/work/ledu/ledu/dist/ledu_download_linux_amd64
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Build and compress the artifact
run: |
pyinstaller --noconfirm --onefile --windowed --icon "/Users/runner/work/ledu/ledu/ledu.ico" --add-data "/Users/runner/work/ledu/ledu/bin/aria2c_macos:bin/" "/Users/runner/work/ledu/ledu/main.py"
pyinstaller --noconfirm --onefile --console --icon "/Users/runner/work/ledu/ledu/ledu.ico" --add-data "/Users/runner/work/ledu/ledu/bin/aria2c_macos:bin/" "/Users/runner/work/ledu/ledu/main.py"
rm /Users/runner/work/ledu/ledu/dist/main
mv /Users/runner/work/ledu/ledu/dist/main.app/ /Users/runner/work/ledu/ledu/dist/ledu_download_macos.app/
mv /Users/runner/work/ledu/ledu/dist/ /Users/runner/work/ledu/ledu/ledu_download_macos/
Expand Down

0 comments on commit ffb18ab

Please sign in to comment.