28 lines
957 B
Ruby
28 lines
957 B
Ruby
cask "extraterm" do
|
|
version "0.73.0"
|
|
sha256 "9333c0ced5a9b1950e5cb204d380deae00e7b562a2527af8bdb0d47fc8c975f2"
|
|
|
|
url "https://github.com/sedwards2009/extraterm/releases/download/v#{version}/ExtratermQt_#{version}.dmg",
|
|
verified: "github.com/sedwards2009/extraterm/"
|
|
name "extraterm"
|
|
desc "Swiss army chainsaw of terminal emulators"
|
|
homepage "https://extraterm.org/"
|
|
|
|
# As of writing, upstream marks all releases on GitHub as "pre-release".
|
|
# This should be updated to use the `GithubLatest` strategy if/when stable
|
|
# versions become available.
|
|
livecheck do
|
|
url "https://github.com/sedwards2009/extraterm/releases"
|
|
regex(%r{href=["']?[^"' >]*?/tag/v?(\d+(?:\.\d+)+)["' >]}i)
|
|
strategy :page_match
|
|
end
|
|
|
|
app "ExtratermQt.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/extraterm",
|
|
"~/Library/Preferences/com.electron.extraterm.helper.plist",
|
|
"~/Library/Preferences/com.electron.extraterm.plist",
|
|
]
|
|
end
|