2015-12-18 09:15:28 +08:00
|
|
|
cask 'decitime' do
|
2014-01-27 13:54:13 +08:00
|
|
|
version '1.0.1'
|
2014-02-24 20:52:32 +08:00
|
|
|
sha256 '3fcd9d6af7cf4710abd42df4db418432ca1758ba8db7affecb1a466d1996f877'
|
2014-06-27 08:01:06 +08:00
|
|
|
|
2016-02-12 07:19:36 +08:00
|
|
|
url "http://www.tinbert.com/download.filewell.com/DeciTime#{version.no_dots}.dmg.zip"
|
2017-01-11 14:23:03 +08:00
|
|
|
appcast 'http://www.tinbert.com/DeciTimeMac/download.html',
|
|
|
|
checkpoint: '52b022ad8082c2c66b2f6b53c526b149219883e6bb3710c8904cfc2a04d86685'
|
2015-01-23 06:51:47 +08:00
|
|
|
name 'DeciTime'
|
2014-06-27 08:01:06 +08:00
|
|
|
homepage 'http://www.tinbert.com/DeciTimeMac/'
|
|
|
|
|
2016-08-02 18:40:31 +08:00
|
|
|
container nested: (nested_container = "DeciTime#{version.no_dots}.dmg")
|
2016-01-04 03:18:07 +08:00
|
|
|
|
2014-09-16 00:05:27 +08:00
|
|
|
app 'DeciTime.app'
|
2014-01-27 13:54:13 +08:00
|
|
|
|
|
|
|
# fix wonky DMG by mounting it once read-write per discussion at
|
2014-05-03 23:16:12 +08:00
|
|
|
# https://github.com/caskroom/homebrew-cask/pull/2654
|
2014-09-09 20:55:26 +08:00
|
|
|
preflight do
|
2016-08-02 18:40:31 +08:00
|
|
|
system %Q{/usr/bin/hdiutil eject "$(/usr/bin/hdiutil mount -readwrite -noidme -nobrowse -mountrandom /tmp #{staged_path.join(nested_container)} | /usr/bin/cut -f3 -- - | /usr/bin/grep -- '.' -)" >/dev/null 2>&1}
|
2014-01-27 13:54:13 +08:00
|
|
|
end
|
|
|
|
end
|