chore: cd /Applications/

This commit is contained in:
IceCodeNew 2024-05-23 16:37:45 +08:00
parent 9f5795d3e3
commit f9139ee782
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ A well-equipped eavesdropper might have a database of *Developer ID* serial numb
Please **do not post** the name of apps or developers. Creating a trackable database is not the purpose here. Please **do not post** the name of apps or developers. Creating a trackable database is not the purpose here.
```bash ```zsh
cd /Applications/ || exit 1
ls | grep '.app' | while read APP; do ls | grep '.app' | while read APP; do
rm -f OCSP_0 OCSP_1 OCSP_2 rm -f OCSP_0 OCSP_1 OCSP_2
codesign -d --extract-certificates="OCSP_" "$APP" 2>/dev/null codesign -d --extract-certificates="OCSP_" "$APP" 2>/dev/null