25 lines
664 B
Ruby
25 lines
664 B
Ruby
cask "maa" do
|
|
version "4.28.6"
|
|
sha256 "a651daeaccf0879a1367c643404085a744d497b2a748a4eea71b28db2e1929cf"
|
|
|
|
url "https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/download/v#{version}/MAA-v#{version}-macos-universal.dmg"
|
|
name "MAA"
|
|
desc "One-click tool for the daily tasks of Arknights"
|
|
homepage "https://github.com/MaaAssistantArknights/MaaAssistantArknights"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :monterey"
|
|
|
|
app "MAA.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.hguandl.MeoAsstMac",
|
|
"~/Library/Containers/com.hguandl.MeoAsstMac",
|
|
]
|
|
end
|