Skip to content

Commit a190b1f

Browse files
authored
Merge pull request #20303 from Homebrew/signing-audit
cask/audit: use `gktool` for signing audit
2 parents 097e2a3 + b7247de commit a190b1f

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)