2013-12-06 09:52:25 +08:00
|
|
|
class Quotefixformac < Cask
|
2014-01-17 21:12:10 +08:00
|
|
|
version '2.5.2'
|
2014-02-24 20:52:32 +08:00
|
|
|
sha256 '8d914ae553b84fe5f246ab1eb030d25792ca8d626b3bbac57acee857135e85a9'
|
2014-06-27 08:01:39 +08:00
|
|
|
|
2014-09-26 20:09:09 +08:00
|
|
|
url "https://github.com/robertklep/quotefixformac/releases/download/v#{version}/QuoteFix-v#{version}.zip"
|
2014-06-27 08:01:39 +08:00
|
|
|
homepage 'https://github.com/robertklep/quotefixformac'
|
|
|
|
|
2014-01-15 06:41:11 +08:00
|
|
|
caveats do
|
|
|
|
<<-EOS.undent
|
|
|
|
Follow these instructions to enable mail plugins and link QuoteFix:
|
2013-12-06 09:52:25 +08:00
|
|
|
|
2014-01-15 06:41:11 +08:00
|
|
|
defaults write com.apple.mail EnableBundles -bool true
|
|
|
|
defaults write com.apple.mail BundleCompatibilityVersion -string 3
|
2013-12-06 09:52:25 +08:00
|
|
|
|
2014-01-15 06:41:11 +08:00
|
|
|
mkdir -p ~/Library/Mail/Bundles
|
|
|
|
cp -R #{destination_path}/QuoteFix.mailbundle ~/Library/Mail/Bundles/
|
|
|
|
killall Mail; open -a Mail
|
2013-12-06 09:52:25 +08:00
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|