diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 5dd239e2..92fa7daa 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 1 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: '20.11.1' - uses: actions/setup-python@v4 @@ -29,7 +29,9 @@ jobs: - name: "Build application" env: APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS }} APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }} + APPLE_TEAM_ID: ${{ secrets.APPLE_ID_TEAM }} APPLE_ID_TEAM: ${{ secrets.APPLE_ID_TEAM }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} CSC_LINK: ${{ secrets.CSC_LINK }} diff --git a/build/entitlements.mac.plist b/build/entitlements.mac.plist index bb87459e..6bc22e91 100644 --- a/build/entitlements.mac.plist +++ b/build/entitlements.mac.plist @@ -2,7 +2,13 @@ + com.apple.security.cs.allow-jit + com.apple.security.cs.allow-unsigned-executable-memory + com.apple.security.cs.allow-dyld-environment-variables + + com.apple.security.cs.disable-library-validation + - \ No newline at end of file + diff --git a/package.json b/package.json index 39acac1d..63fe5473 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,9 @@ "arm64", "x64" ] + }, + "notarize": { + "teamId": "778YBN5YK7" } }, "win": { @@ -91,9 +94,8 @@ "build-electron/config.js" ], "asarUnpack": [ - "build/**/*" - ], - "afterSign": "build/notarize.js" + "build/**/*" + ] }, "husky": { "hooks": {