Procházet zdrojové kódy

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

cheng zhen před 1 rokem
rodič
revize
b918afaecd
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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