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-07-01 02:28:06 +08:00
|
|
|
|
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-06-27 08:01:10 +08:00
|
|
|
|
2014-09-16 00:05:33 +08:00
|
|
|
app 'Fantastical.app'
|
2013-12-07 09:49:45 +08:00
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2013-12-07 09:49:45 +08:00
|
|
|
# Don't ask to move the app bundle to /Applications
|
2014-03-01 22:47:54 +08:00
|
|
|
system '/usr/bin/defaults', 'write', 'com.flexibits.fantastical', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
2013-12-07 09:49:45 +08:00
|
|
|
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
|