Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # wait until knock launches
- while [ -z "`ps cax | grep Knock`" ]; do
- sleep 3
- done
- # wait a bit more
- sleep 3
- # disable security agent support
- lldb <<EOF
- attach Knock
- expr (void)[[[NSApplication sharedApplication] delegate] setEnableSecurityAgentSupport:NO]
- detach
- quit
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement