We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d338bdf commit ec3f85aCopy full SHA for ec3f85a
1 file changed
Casks/cockpit-tools.rb
@@ -10,6 +10,12 @@
10
11
auto_updates true
12
13
+ postflight do
14
+ system_command "/usr/bin/xattr",
15
+ args: ["-cr", "#{appdir}/Cockpit Tools.app"],
16
+ sudo: true
17
+ end
18
+
19
app "Cockpit Tools.app"
20
21
zap trash: [
@@ -20,10 +26,8 @@
26
]
27
22
28
caveats <<~EOS
23
- If you encounter the "App is damaged" error, please run:
29
+ The app is automatically quarantined by macOS. A postflight hook has been added to remove this quarantine.
30
+ If you still encounter the "App is damaged" error, please run:
24
31
sudo xattr -rd com.apple.quarantine "/Applications/Cockpit Tools.app"
25
-
- Or install with the --no-quarantine flag:
- brew install --cask --no-quarantine cockpit-tools
32
EOS
33
end
0 commit comments