homebrew-cask/Casks/fantastical.rb

19 lines
701 B
Ruby
Raw Normal View History

2013-04-18 02:58:14 +08:00
class Fantastical < Cask
2014-10-17 10:00:31 +08:00
version '1.3.18'
sha256 '435d4818b2911eed956322261ba083df2abe9c2b21c63eee46876c23f7925beb'
2014-09-14 23:58:20 +08:00
url "http://cdn.flexibits.com/Fantastical_#{version}.zip"
2014-10-15 23:43:49 +08:00
appcast 'https://flexibits.com/fantastical/appcast.php',
2014-10-17 10:00:31 +08:00
:sha256 => '3d789ff8dd91c8ebc1b63d2811ec17e0a950433b03605d8c10eef010733cf79a'
2013-04-18 02:58:14 +08:00
homepage 'http://flexibits.com/fantastical'
2014-10-01 23:32:51 +08:00
license :unknown
2014-09-16 00:05:33 +08:00
app 'Fantastical.app'
2014-09-09 20:55:26 +08:00
postflight do
# Don't ask to move the app bundle to /Applications
system '/usr/bin/defaults', 'write', 'com.flexibits.fantastical', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
end
2014-09-18 19:57:56 +08:00
zap :delete => '~/Library/Preferences/com.flexibits.fantastical.plist'
2013-04-18 02:58:14 +08:00
end