This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Invoke this script with a relative '.app' path, for example: | |
# codesign-electron.sh "darwin-x64/Electron.app" | |
# 1. Run the following command to get a list of identities: | |
# security find-identity | |
# 2. Now set the value of the identity variable below to the identity you want to use: | |
identity="Developer ID Application: ... (...)" |