Skip to content

Commit

Permalink
Use postflight DSL with key option in path-finder
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobond committed Nov 27, 2014
1 parent 84d885d commit 1ac5469
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Casks/path-finder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
app 'Path Finder.app'

postflight do
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'com.cocoatech.PathFinder', 'kNTMoveToApplicationsFolderAlertSuppress', '-bool', 'true'
suppress_move_to_applications :key => 'kNTMoveToApplicationsFolderAlertSuppress'
end

zap :delete => [
Expand Down

0 comments on commit 1ac5469

Please sign in to comment.