pull/5370/head
filip mertens 12 months ago
parent d4e4924b84
commit d55f5ac65f
  1. 1
      .circleci/config.yml
  2. 2
      apps/remixdesktop/aftersign.js
  3. 26
      apps/remixdesktop/notarize.sh
  4. 2
      apps/remixdesktop/package.json
  5. 1
      apps/remixdesktop/src/plugins/appUpdater.ts

@ -610,6 +610,7 @@ workflows:
requires: requires:
- build-remixdesktop-mac - build-remixdesktop-mac
- build-remixdesktop-linux - build-remixdesktop-linux
- build-remixdesktop-windows
- build-plugin: - build-plugin:
matrix: matrix:
parameters: parameters:

@ -7,7 +7,7 @@ exports.default = async function notarizing(context) {
console.log('NOTARIZING'); console.log('NOTARIZING');
if (electronPlatformName !== 'darwin') { if (electronPlatformName !== 'darwin' || !process.env.CIRCLE_BRANCH) {
return; return;
} }

@ -1,26 +0,0 @@
#!/bin/bash
echo "Argument 1: $1"
echo "Argument 2: $2"
exit 0
xcrun notarytool store-credentials "notarytool-password" \
--apple-id ${APPLE_ID} \
--team-id ${APPLE_TEAM_ID} \
--password ${APPLE_ID_PASSWORD}
# Assuming your app is packaged as a dmg or zip for notarization
xcrun notarytool submit "$1" \
--keychain-profile "notarytool-password" \
--wait
# Assuming your app is packaged as a dmg or zip for notarization
xcrun notarytool submit "$2" \
--keychain-profile "notarytool-password" \
--wait
xcrun stapler staple "$1"
xcrun stapler staple "$2"
spctl -a -t open -vvv --context context:primary-signature "$1"
spctl -a -t open -vvv --context context:primary-signature "$2"

@ -70,7 +70,7 @@
"files": [ "files": [
"build/**/*" "build/**/*"
], ],
"afterSign": "notarize.js", "afterSign": "aftersign.js",
"afterAllArtifactBuild": "afterbuild.js", "afterAllArtifactBuild": "afterbuild.js",
"publish": [ "publish": [
{ {

@ -107,7 +107,6 @@ class AppUpdaterPluginClient extends ElectronBasePluginClient {
async install(): Promise<void> { async install(): Promise<void> {
autoUpdater.quitAndInstall() autoUpdater.quitAndInstall()
app.exit()
} }
async checkForUpdates(): Promise<void> { async checkForUpdates(): Promise<void> {

Loading…
Cancel
Save