From 0199093d4867e4e7631ce14f53f10799b7da909d Mon Sep 17 00:00:00 2001 From: R-YaTian <47445484+R-YaTian@users.noreply.github.com> Date: Wed, 11 Sep 2024 21:27:31 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6313351..5fd287c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,13 +19,12 @@ jobs: uses: actions/setup-python@main with: python-version: '3.x' - architecture: 'x64' - name: Install pyinstaller run: | pip3 install certifi pyinstaller - name: Make binary run: | - pyinstaller --add-data "Darwin/*:Darwin" --add-data "i18n/*:i18n" TWLMagician.py + pyinstaller --add-data "Darwin/*:Darwin" --add-data "i18n/*:i18n" --target-architecture universal2 TWLMagician.py cd dist zip -r ../TWLMagician-macOS.zip TWLMagician - name: Publish artifact