Skip to content

The only downloader you need. 下载器的集大成者。

更新 Github Action 工作流

XiaoYouChR316eb661f4bb
diff --git a/.github/workflows/deploy-macOS-application.yml b/.github/workflows/deploy-macOS-application.yml
index 6469f5f9..f6ea9219 100644
--- a/.github/workflows/deploy-macOS-application.yml
+++ b/.github/workflows/deploy-macOS-application.yml
@@ -32,7 +32,7 @@ jobs:
- name: Package with PyInstaller on macOS
if: matrix.os == 'macos-latest'
run: |
- pyinstaller main.py --noconfirm --noconsole --distpath=dist --workpath=build --icon=/images/icon.icns --osx-bundle-identifier app.ghost.downloader
+ pyinstaller main.py --noconfirm --noconsole --distpath=dist --workpath=build --icon=images/logo.icns --osx-bundle-identifier app.ghost.downloader
- name: Add plugins folder to dist
run: cp -r ./plugins dist/main/
@@ -40,11 +40,11 @@ jobs:
- name: Compress the package on macOS
if: matrix.os == 'macos-latest'
run: |
- 7z a -t7z -mx=9 dist/Ghost-Downloader-macOS-amd64-PyInstaller.7z ./dist/main/*
+ 7z a -t7z -mx=9 dist/Ghost-Downloader-${{ matrix.os }}-${{ matrix.arch }}-PyInstaller.7z ./dist/main/*
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
- name: Ghost-Downloader-${{ matrix.os }}-amd64-PyInstaller.7z
+ name: Ghost-Downloader-${{ matrix.os }}-${{ matrix.arch }}-PyInstaller.7z
path: |
- dist/Ghost-Downloader-macOS-amd64-PyInstaller.7z
+ dist/Ghost-Downloader-${{ matrix.os }}-${{ matrix.arch }}-PyInstaller.7z