3 sha256 "2912bf3435d5c85aa87b0eaa3f08a487888b8bbbe3b48ea0ccef1a5f8215cebf"
5 url "https://github.com/rime/squirrel/releases/download/#{version}/Squirrel-#{version}.pkg",
6 verified: "github.com/rime/squirrel/"
8 desc "Rime input method engine"
9 homepage "https://rime.im/"
12 depends_on macos: ">= :ventura"
14 pkg "Squirrel-#{version}.pkg"
17 "com.googlecode.rimeime.Squirrel.pkg", # Package name of older versions (< 0.10.0)
18 "im.rime.inputmethod.Squirrel",
20 delete: "/Library/Input Methods/Squirrel.app"
23 "~/Library/Caches/com.googlecode.rimeime.inputmethod.Squirrel",
24 "~/Library/Caches/im.rime.inputmethod.Squirrel",
25 "~/Library/Preferences/com.googlecode.rimeime.inputmethod.Squirrel.plist",
26 "~/Library/Preferences/im.rime.inputmethod.Squirrel.plist",