瀏覽代碼

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

cheng zhen 1 年之前
父節點
當前提交
b918afaecd
共有 1 個文件被更改,包括 3 次插入1 次删除
  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