Skip to content

Commit db36d6d

Browse files
committed
spctl assess extesnsion
1 parent 7d32974 commit db36d6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgbuild/scripts/postinstall

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ VPN_MARKER_FILE="/tmp/coder_vpn_was_running"
66
# Before this script, or the user opens the app, make sure
77
# Gatekeeper has ingested the notarization ticket.
88
spctl -avvv "/Applications/Coder Desktop.app"
9+
# spctl can't assess non-apps, so this will always return a non-zero exit code,
10+
# but the error message implies at minimum the signature of the extension was
11+
# checked.
12+
spctl -avvv "/Applications/Coder Desktop.app/Contents/Library/SystemExtensions/com.coder.Coder-Desktop.VPN.systemextension" || true
913

1014
# Restart Coder Desktop if it was running before
1115
if [ -f "$RUNNING_MARKER_FILE" ]; then

0 commit comments

Comments
 (0)