-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
simplemind.rb
27 lines (22 loc) 路 862 Bytes
/
simplemind.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
cask "simplemind" do
version "2.3.4,b3012"
sha256 "7f55678305bc18bfb5d082e046ea023a1e89c28c7759ddb86ce077a1a22bc9d1"
url "https://simpleapps.eu/simplemind/SM2Mac_G7Ynr4BfJYzhbHtCCTr/SimpleMindMacOS#{version.csv.first.no_dots}#{version.csv.second}.dmg"
name "SimpleMind"
desc "Cross-platform mind mapping tool"
homepage "https://simpleapps.eu/"
livecheck do
url "https://simpleapps.eu/download/full-edition/simplemind-pro-mac/"
regex(%r{<b>Version: ([\d.]+) ([a-zA-Z0-9]+)</b>}i)
strategy :page_match do |page, regex|
page.scan(regex).map { |match| "#{match[0]},#{match[1]}" }
end
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "SimpleMind Pro.app"
zap trash: [
"~/Library/Caches/com.modelmakertools.simplemindosx",
"~/Library/Preferences/com.modelmakertools.simplemindosx.plist",
]
end