homebrew-cask/Casks/t/tofu.rb

25 lines
574 B
Ruby

cask "tofu" do
version "3.0"
sha256 :no_check
url "https://amarsagoo.info/tofu/Tofu.dmg"
name "Tofu"
desc "E-reader software"
homepage "https://amarsagoo.info/tofu/"
livecheck do
url :homepage
regex(/Version\s+(\d+(?:\.\d+)+)/i)
end
depends_on macos: ">= :high_sierra"
app "Tofu.app"
zap trash: [
"~/Library/Application Scripts/com.asagoo.tofu",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.asagoo.tofu.sfl2",
"~/Library/Containers/com.asagoo.tofu",
]
end