mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
24 lines
661 B
Ruby
24 lines
661 B
Ruby
cask "010-editor" do
|
|
version "14.0"
|
|
sha256 "6082484998b8797f1ad3e903719189ce681f0fa9368449a7c7c961c41dbe08b3"
|
|
|
|
url "https://download.sweetscape.com/010EditorMac64Installer#{version}.dmg"
|
|
name "010 Editor"
|
|
desc "Text editor"
|
|
homepage "https://www.sweetscape.com/"
|
|
|
|
livecheck do
|
|
url "https://www.sweetscape.com/download/010editor/"
|
|
regex(/Version:?\s*(\d+(?:\.\d+)+),\s*macOS/i)
|
|
end
|
|
|
|
app "010 Editor.app"
|
|
|
|
zap trash: [
|
|
"~/.config/SweetScape",
|
|
"~/Library/Application Support/SweetScape",
|
|
"~/Library/Saved Application State/com.SweetScape.010Editor.savedState",
|
|
],
|
|
rmdir: "~/Documents/SweetScape"
|
|
end
|