| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,5 +48,12 @@ else | |||
| 48 | 48 | exit 1 | |
| 49 | 49 | fi | |
| 50 | 50 | ||
| 51 | + if ! xcrun spctl --assess --type install --context context:primary-signature --ignore-cache --verbose=2 "node-$pkgid.pkg"; then | ||
| 52 | + echo "error: Signature will not be accepted by Gatekeeper!" 1>&2 | ||
| 53 | + exit 1 | ||
| 54 | + else | ||
| 55 | + echo "Verification was successful." | ||
| 56 | + fi | ||
| 57 | + | ||
| 51 | 58 | xcrun stapler staple "node-$pkgid.pkg" | |
| 52 | 59 | echo "Stapler was successful." | |
| Back | FazBrowse Home | New Git URL |
0 commit comments