From 2e67d9f62c52cc428546e2e091c93013f2cf3f15 Mon Sep 17 00:00:00 2001 From: Pan Long Date: Thu, 18 Sep 2014 20:49:53 +0800 Subject: [PATCH] changed the location of installer back to app bundle --- Casks/baiduinput.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Casks/baiduinput.rb b/Casks/baiduinput.rb index 845795a24771..c56b88920914 100644 --- a/Casks/baiduinput.rb +++ b/Casks/baiduinput.rb @@ -6,7 +6,10 @@ class Baiduinput < Cask url "http://wuxian.baidu.com/download/1000e/baiduinput_mac_v#{version}.dmg" homepage 'http://wuxian.baidu.com/input/mac.html' - pkg '安装百度输入法.pkg' + caskroom_only true + caveats do + manual_installer '安装百度输入法.app' + end uninstall :pkgutil => 'com.baidu.inputmethod.*', :files => '/Library/Input Methods/BaiduIM.app' end