-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
melodics.rb
28 lines (23 loc) · 879 Bytes
/
melodics.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
cask "melodics" do
version "3.1.196,6153FDB3-500E-44F0-B4B4-77E8E06DF844"
sha256 "eab5cac7b5c9ef99085c178d4bae2800fad0f41e19b5d0c9e4f4a7cefe3166f7"
url "https://web-cdn.melodics.com/download/#{version.csv.second}.zip"
name "Melodics"
desc "Helps you learn to play your instrument"
homepage "https://melodics.com/"
livecheck do
url "https://web-cdn.melodics.com/download/osxupdatescastv2.xml"
strategy :sparkle do |item|
"#{item.version},#{item.url[%r{/(\h+(?:-\h+)+)\.zip}i, 1]}"
end
end
depends_on macos: ">= :mojave"
app "Melodics.app"
zap trash: [
"~/Library/Application Support/Melodics",
"~/Library/Caches/Melodics",
"~/Library/Preferences/com.melodics.Melodics.plist",
"~/Library/Preferences/com.melodics.Melodics.updates.plist",
"~/Library/Saved Application State/com.melodics.melodics.savedState",
]
end