2013-02-04 08:34:49 +08:00
|
|
|
class Flux < Cask
|
2014-09-17 19:42:45 +08:00
|
|
|
version :latest
|
2014-06-27 08:01:12 +08:00
|
|
|
sha256 :no_check
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2014-03-04 21:30:17 +08:00
|
|
|
url 'https://justgetflux.com/mac/Flux.zip'
|
2014-05-14 21:40:00 +08:00
|
|
|
appcast 'https://justgetflux.com/mac/macflux.xml'
|
2014-03-04 21:30:17 +08:00
|
|
|
homepage 'http://justgetflux.com'
|
2014-10-01 23:32:54 +08:00
|
|
|
license :unknown
|
2014-06-27 08:01:12 +08:00
|
|
|
|
2014-09-16 00:05:35 +08:00
|
|
|
app 'Flux.app'
|
2014-03-04 21:30:17 +08:00
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2014-03-04 21:30:17 +08:00
|
|
|
# Don't ask to move the app bundle to /Applications
|
|
|
|
system '/usr/bin/defaults', 'write', 'org.herf.Flux', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
|
|
|
end
|
2014-09-18 19:57:56 +08:00
|
|
|
zap :delete => '~/Library/Preferences/org.herf.Flux.plist'
|
2013-02-04 08:34:49 +08:00
|
|
|
end
|