-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
webots.rb
30 lines (24 loc) 路 825 Bytes
/
webots.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
29
30
cask "webots" do
version "R2023b"
sha256 "6fe4638f28bd5ca9fc0c4c910dbe4bae835497a3186df11c42f0665f802f82e4"
url "https://github.com/cyberbotics/webots/releases/download/#{version}/webots-#{version}.dmg",
verified: "github.com/cyberbotics/webots/"
name "Cyberbotics Webots Robot Simulator"
name "Webots"
desc "Open source desktop application used to simulate robots"
homepage "https://www.cyberbotics.com/"
livecheck do
url :url
regex(/([\w._-]+)/i)
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :mojave"
app "Webots.app"
uninstall quit: "com.cyberbotics.webots"
zap trash: [
"~/Library/Application Support/Cyberbotics/Webots",
"~/Library/Caches/Cyberbotics/Webots",
"~/Library/Preferences/com.cyberbotics.Webots-#{version}.plist",
]
end