do not notarize when testing

pull/5200/head
bunsenstraat 2 months ago
parent 99b6b8c240
commit 49d322ebaa
  1. 2
      .circleci/config.yml
  2. 10
      apps/remixdesktop/aftersign.js

@ -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: |

@ -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

Loading…
Cancel
Save