Skip to content

Commit

Permalink
Update f-lux cask to suppress the annoying "Move to /Applications?" p…
Browse files Browse the repository at this point in the history
…rompt.

closes Homebrew#544

Signed-off-by: Paul Hinze <paul.t.hinze@gmail.com>
  • Loading branch information
Crazor authored and Kevin Suttle committed Dec 8, 2013
1 parent fcd94c5 commit d820210
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Casks/f-lux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ class FLux < Cask
version 'latest'
no_checksum
link 'Flux.app'

after_install do
# Prevent f.lux from asking the user whether he wants the app bundle moved to /Applications
system 'defaults write org.herf.Flux moveToApplicationsFolderAlertSuppress -int 1'
end
end

0 comments on commit d820210

Please sign in to comment.