Created
November 20, 2021 19:53
-
-
Save macmule/2e6cd3851c6147f89dda4cfce48c18e6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| try | |
| do shell script "security unlock-keychain -p ~/Library/Keychains/login.keychain" | |
| set keychainState to "unlocked" | |
| log " Keychain unlocked..." | |
| on error | |
| set keychainState to "locked" | |
| end try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment