mirror of
https://github.com/electron/electron.git
synced 2026-03-19 03:02:02 -04:00
* fix: code-sign binaries for notification tests
* test: remove redundent feedURL test
* test: move squirrel feed tests to api-autoupdater
* fix: fix SQRLShipItRequest.JSONKeyPathsByPropertyKey mappings
* Revert "fix: fix SQRLShipItRequest.JSONKeyPathsByPropertyKey mappings"
This reverts commit 5ad9892a67.
* test: unsign tests requiring no signed app
22 lines
558 B
Bash
Executable File
22 lines
558 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Removes the codesigning keychain created by generate-identity.sh.
|
|
# Safe to run even if generate-identity.sh was never run (each step
|
|
# is guarded).
|
|
|
|
set -eo pipefail
|
|
|
|
KEYCHAIN="electron-codesign.keychain-db"
|
|
|
|
# delete-keychain also removes it from the search list
|
|
if security list-keychains -d user | grep -q "$KEYCHAIN"; then
|
|
security delete-keychain "$KEYCHAIN"
|
|
echo "Deleted keychain: $KEYCHAIN"
|
|
else
|
|
echo "Keychain not found, nothing to delete"
|
|
fi
|
|
|
|
# Clean up working directory
|
|
rm -rf "$(dirname $0)"/.working
|
|
echo "Cleanup complete"
|