Skip to content

Commit b7247de

Browse files
committed
cask/audit: use gktool for signing audit
1 parent dfcecbd commit b7247de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Library/Homebrew/cask/audit.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ def audit_signing
510510
when Artifact::Pkg
511511
system_command("spctl", args: ["--assess", "--type", "install", path], print_stderr: false)
512512
when Artifact::App
513-
if which("syspolicy_check")
514-
system_command("syspolicy_check", args: ["distribution", path], print_stderr: false)
513+
if which("gktool")
514+
system_command("gktool", args: ["scan", path], print_stderr: false)
515515
else
516516
system_command("spctl", args: ["--assess", "--type", "execute", path], print_stderr: false)
517517
end

0 commit comments

Comments
 (0)