homebrew-cask/Casks/quotefix.rb

25 lines
1.0 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'quotefix' do
2016-02-09 08:04:58 +08:00
version '2.7.4,120155'
sha256 'eb2a80431c0c53547e811bef7bcb9256184abd8415c31787aa4bd0fda3b4a242'
2016-02-09 08:04:58 +08:00
url "https://github.com/robertklep/quotefixformac/files/#{version.after_comma}/QuoteFix-#{version.before_comma}.zip"
2015-12-26 04:57:40 +08:00
appcast 'https://github.com/robertklep/quotefixformac/releases.atom',
2016-02-09 08:04:58 +08:00
checkpoint: 'f95a33fb61ed287c57945f5c64258674d372a49411b5b47048dad20a284ca316'
2015-04-23 05:34:22 +08:00
name 'QuoteFix'
homepage 'https://github.com/robertklep/quotefixformac'
2014-10-01 23:33:44 +08:00
license :oss
stage_only true
postflight do
system 'defaults', 'write', 'com.apple.mail', 'EnableBundles', '-bool', 'true'
system 'defaults', 'write', 'com.apple.mail', 'BundleCompatibilityVersion', '-string', '3'
system 'mkdir', '-p', File.expand_path('~/Library/Mail/Bundles')
system 'cp', '-r', File.join(staged_path, 'QuoteFix.mailbundle'), File.expand_path('~/Library/Mail/Bundles')
2013-12-06 09:52:25 +08:00
end
uninstall delete: File.expand_path('~/Library/Mail/Bundles/QuoteFix.mailbundle')
caveats 'You may need to restart Mail.app before you can use QuoteFix'
2013-12-06 09:52:25 +08:00
end