diff --git a/.circleci/config.yml b/.circleci/config.yml index f8449a1e5c..225d772c75 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -545,7 +545,7 @@ jobs: nvm use 20 cd apps/remixdesktop yarn installRipGrepMacOXarm64 - PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false ./rundist.bash --arm64 + PUBLISH_FOR_PULL_REQUEST='false' DO_NOT_NOTARIZE='true' USE_HARD_LINKS=false ./rundist.bash --arm64 - run: name: "Run tests" command: | diff --git a/apps/remixdesktop/aftersign.js b/apps/remixdesktop/aftersign.js index ec0e5efed0..27d452eaab 100644 --- a/apps/remixdesktop/aftersign.js +++ b/apps/remixdesktop/aftersign.js @@ -1,6 +1,16 @@ const { notarize } = require('@electron/notarize') const fs = require('fs') const { exec } = require('child_process') // Import the exec function + +// read the environment variables from process + +console.log(process.env.DO_NOT_NOTARIZE) + +if (process.env.DO_NOT_NOTARIZE) { + console.log('NOTARIZING DISABLED') + return [] +} + exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context // Provided by electron-builder