From 5a0d3b3f4db45afee346a0d6a5b8b48d92bc36af Mon Sep 17 00:00:00 2001 From: JoeanAmier Date: Sun, 18 Aug 2024 16:25:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E5=8F=AF=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=96=87=E4=BB=B6=E6=9E=84=E5=BB=BA=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/executable_build.yml | 54 +++++++++++++------------- README.md | 8 ++-- README_EN.md | 8 ++-- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/executable_build.yml b/.github/workflows/executable_build.yml index e2ead7c..6d100c4 100644 --- a/.github/workflows/executable_build.yml +++ b/.github/workflows/executable_build.yml @@ -9,37 +9,37 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, windows-latest] - python-version: [3.12] + os: [ macos-latest, windows-latest,macos-latest-large ] + python-version: [ 3.12 ] steps: - - name: 签出存储库 - uses: actions/checkout@v3 + - name: 签出存储库 + uses: actions/checkout@v3 - - name: 设置 Python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} + - name: 设置 Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - - name: 安装依赖项 - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install pyinstaller + - name: 安装依赖项 + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pyinstaller - - name: 构建 Win 可执行文件 - if: runner.os == 'Windows' - run: | - pyinstaller --icon=./static/XHS-Downloader.ico --add-data "static:static" --add-data "locale:locale" main.py - shell: pwsh + - name: 构建 Win 可执行文件 + if: runner.os == 'Windows' + run: | + pyinstaller --icon=./static/XHS-Downloader.ico --add-data "static:static" --add-data "locale:locale" main.py + shell: pwsh - - name: 构建 Mac 可执行文件 - if: runner.os == 'macOS' - run: | - pyinstaller --icon=./static/XHS-Downloader.icns --add-data "static:static" --add-data "locale:locale" main.py + - name: 构建 Mac 可执行文件 + if: runner.os == 'macOS' + run: | + pyinstaller --icon=./static/XHS-Downloader.icns --add-data "static:static" --add-data "locale:locale" main.py - - name: 上传文件 - uses: actions/upload-artifact@v4 - with: - name: executable-${{ matrix.os }} - path: dist/main/ + - name: 上传文件 + uses: actions/upload-artifact@v4 + with: + name: executable-${{ matrix.os }} + path: dist/main/ diff --git a/README.md b/README.md index e48c55e..e5024db 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@

⭐ XHS-Downloader 开发计划及进度可前往 Projects 查阅

📸 程序截图

🎥 点击图片观看演示视频

- +
- +
- +

🔗 支持链接