fix: update MacOS build configuration in GitHub Actions workflow to set deployment target and compatibility flags

This commit is contained in:
cheng zhen
2025-01-03 11:46:38 +08:00
parent 2c6eac7bb6
commit b918afaecd

View File

@@ -79,8 +79,10 @@ jobs:
- name: Build MacOS x86 executable
env:
ARCHFLAGS: "-arch x86_64"
MACOSX_DEPLOYMENT_TARGET: "10.15"
SYSTEM_VERSION_COMPAT: "1"
run: |
pyinstaller --target-arch x86_64 CursorKeepAlive.spec
pyinstaller CursorKeepAlive.spec
- name: Upload MacOS x86 artifact
uses: actions/upload-artifact@v4