From b918afaecde9a5ca6420acaa86085c7fd9221824 Mon Sep 17 00:00:00 2001 From: cheng zhen Date: Fri, 3 Jan 2025 11:46:38 +0800 Subject: [PATCH] fix: update MacOS build configuration in GitHub Actions workflow to set deployment target and compatibility flags --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b42fb80..5705882 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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