2021-03-17 14:39:57 +08:00
|
|
|
cask "celestia" do
|
|
|
|
version "1.6.2"
|
|
|
|
sha256 "d12778ecdf9036a8ca22b257d9f8574bf507cc8c886cb3808f4edca32f2d5b6e"
|
|
|
|
|
|
|
|
url "https://github.com/CelestiaProject/Celestia/releases/download/#{version}/celestia-#{version}-macOS.zip",
|
|
|
|
verified: "github.com/CelestiaProject/Celestia"
|
|
|
|
name "Celestia"
|
|
|
|
desc "Space simulation for exploring the universe in three dimensions"
|
|
|
|
homepage "https://celestia.space/"
|
|
|
|
|
2021-05-10 02:40:17 +08:00
|
|
|
livecheck do
|
|
|
|
url "https://celestia.space/download.html"
|
2021-10-30 19:12:29 +08:00
|
|
|
regex(%r{href=.*?/celestia[._-](\d+(?:\.\d+)+)[._-]macOS\.zip["' >]}i)
|
2021-05-10 02:40:17 +08:00
|
|
|
end
|
|
|
|
|
2021-03-17 14:39:57 +08:00
|
|
|
app "Celestia.app"
|
|
|
|
|
|
|
|
zap trash: [
|
|
|
|
"~/Library/Application Scripts/space.celestia.Celestia",
|
|
|
|
"~/Library/Containers/space.celestia.Celestia",
|
|
|
|
]
|
|
|
|
end
|