Skip to content

Commit 297e953

Browse files
committed
wine-crossover: Auto remove quarantine attribute
1 parent 95e5868 commit 297e953

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Casks/wine-crossover.rb

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
binary "#{appdir}/Wine Crossover.app/Contents/Resources/wine/bin/winepath"
4040
binary "#{appdir}/Wine Crossover.app/Contents/Resources/wine/bin/wineserver"
4141

42+
postflight do
43+
system "xattr", "-drs", "com.apple.quarantine", "#{appdir}/Wine Crossover.app"
44+
end
45+
4246
caveats <<~EOS
4347
#{token} supports running 32-bit & 64-bit windows binaries.
4448

0 commit comments

Comments
 (0)