Skip to content

Commit 33fdf5c

Browse files
committed
build: 优化 GitHub Action 打包脚本
1 parent 0684af8 commit 33fdf5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
pip install --timeout=300 -r requirements.txt
24-
pip install nuitka
24+
pip install nuitka==2.5.4
2525
2626
- name: Build with Nuitka
2727
run: |
2828
mv main.py Ghost-Downloader-3.py
29-
nuitka --enable-plugin=pyside6 --show-memory --output-dir=output --windows-disable-console --windows-icon-from-ico=images/logo.ico --company-name=XiaoYouChR --product-name="Ghost Downloader" --file-description="Ghost Downloader" --copyright="Copyright(C) 2024 XiaoYouChR" --file-version=3.4.6 --product-version=3.4.6 Ghost-Downloader-3.py
29+
nuitka --standalone --enable-plugin=pyside6 --show-memory --output-dir=output --windows-console-mode=disable --windows-icon-from-ico=images/logo.ico --company-name=XiaoYouChR --product-name="Ghost Downloader" --file-description="Ghost Downloader" --copyright="Copyright(C) 2024 XiaoYouChR" --file-version=3.4.6 --product-version=3.4.6 Ghost-Downloader-3.py
3030
# nuitka --module plugins/jy_os_page.py
3131
# mv jy_os_page*.pyd output/
3232

@@ -53,7 +53,7 @@ jobs:
5353
- name: Install dependencies
5454
run: |
5555
pip install --timeout=300 -r requirements.txt
56-
pip install nuitka
56+
pip install nuitka==2.5.4
5757
5858
- name: Build with Nuitka
5959
run: |

0 commit comments

Comments
 (0)