Files
homebrew-cask/Casks/0/010-editor.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

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