mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* fix: code-sign binaries for notification tests
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* test: remove redundent feedURL test
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* test: move squirrel feed tests to api-autoupdater
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* fix: fix SQRLShipItRequest.JSONKeyPathsByPropertyKey mappings
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* Revert "fix: fix SQRLShipItRequest.JSONKeyPathsByPropertyKey mappings"
This reverts commit 5ad9892a67.
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* test: unsign tests requiring no signed app
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* fixup! fix: fix SQRLShipItRequest.JSONKeyPathsByPropertyKey mappings
chore: fix patch shear
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
14 lines
264 B
Bash
Executable File
14 lines
264 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
valid_certs=$(security find-identity -p codesigning)
|
|
if [[ $valid_certs == *"1)"* ]]; then
|
|
first_valid_cert=$(echo $valid_certs | sed 's/ \".*//' | sed 's/.* //')
|
|
echo $first_valid_cert
|
|
exit 0
|
|
else
|
|
# No Certificate
|
|
exit 0
|
|
fi
|