diff --git a/.erb/scripts/windows-sign.js b/.erb/scripts/windows-sign.js index 58a29c1d6..6058174c1 100644 --- a/.erb/scripts/windows-sign.js +++ b/.erb/scripts/windows-sign.js @@ -34,4 +34,6 @@ exports.default = async (config) => { if (!output.includes("Code signed successfully")) { throw new Error(`Failed to sign file: ${output}`); } + + console.log(output); }; diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b86260f07..eb9a9758a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,13 +95,14 @@ jobs: - name: Load macOS signing certificates and secrets if: matrix.os == 'macOS-latest' && env.CERTIFICATE_MACOS_PASSWORD != null run: | - chmod +x build/load-macos-certs-ci.sh && ./build/load-macos-certs-ci.sh + chmod +x .erb/load-macos-certs-ci.sh && ./.erb/load-macos-certs-ci.sh mkdir -p ~/private_keys/ echo "SLIPPI_ENABLE_SIGNING=yes" >> $GITHUB_ENV echo '${{ secrets.APPLE_CONNECT_API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8 echo "CSC_LINK=${{ secrets.CERTIFICATE_MACOS_APPLICATION }}" >> $GITHUB_ENV echo "CSC_KEY_PASSWORD=${{ secrets.CERTIFICATE_MACOS_PASSWORD }}" >> $GITHUB_ENV echo "APPLE_API_KEY=${{ secrets.APPLE_API_KEY_ID }}" >> $GITHUB_ENV + echo "APPLE_API_KEY_ID=${{ secrets.APPLE_API_KEY_ID }}" >> $GITHUB_ENV echo "APPLE_ISSUER_ID=${{ secrets.APPLE_ISSUER_ID }}" >> $GITHUB_ENV echo "APPLE_TEAM_PROVIDER_ID=${{ secrets.APPLE_TEAM_PROVIDER_ID }}" >> $GITHUB_ENV env: diff --git a/package.json b/package.json index 51bb67c8a..1e343c61f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ }, "devDependencies": { "@babel/core": "^7.17.5", - "@electron/notarize": "^2.1.0", + "@electron/notarize": "^1.2.4", "@electron/rebuild": "^3.3.0", "@emotion/babel-preset-css-prop": "^11.2.0", "@pmmmwh/react-refresh-webpack-plugin": "0.5.5", @@ -97,8 +97,6 @@ "electron": "^19.1.9", "electron-builder": "^23.3.3", "electron-devtools-installer": "^3.2.0", - "electron-notarize": "^1.2.1", - "electron-rebuild": "^3.2.7", "electronmon": "^2.0.2", "eslint": "^7.15.0", "eslint-config-prettier": "^8.5.0",