homebrew-cask/Casks/m/millie.rb

27 lines
796 B
Ruby

cask "millie" do
version "5.24.4"
sha256 "77947c0dbf083e478adbbf8eb88fcb9e2a765dbd4808ad075db8175cc1405249"
url "https://apis.millie.co.kr/v1/download/installer/mac/Millie-#{version}.dmg"
name "millie"
desc "Korean e-book store"
homepage "https://www.millie.co.kr/"
livecheck do
url "https://install.millie.co.kr/mac/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Millie.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.millie.sfl*",
"~/Library/Application Support/millie",
"~/Library/Logs/millie",
"~/Library/Preferences/com.electron.millie.plist",
"~/Library/Saved Application State/com.electron.millie.savedState",
]
end