Browse Source

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

cheng zhen 1 year ago
parent
commit
b918afaecd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/build.yml

+ 3 - 1
.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