homebrew-cask/Casks/oni.rb

23 lines
747 B
Ruby

cask "oni" do
version "0.3.9"
sha256 "c1b6e0fcce1a69d6460197158d8e087496199a3d8368901b452ee214eab039c4"
url "https://github.com/onivim/oni/releases/download/v#{version}/Oni-#{version}-osx.dmg",
verified: "github.com/onivim/oni/"
appcast "https://github.com/onivim/oni/releases.atom"
name "Oni"
desc "Modal text editor powered by Neovim"
homepage "https://www.onivim.io/"
app "Oni.app"
binary "#{appdir}/Oni.app/Contents/Resources/app/cli/mac/oni.sh", target: "oni"
zap trash: [
"~/.oni",
"~/Library/Application Support/oni",
"~/Library/Preferences/com.extropy.oni.helper.plist",
"~/Library/Preferences/com.extropy.oni.plist",
"~/Library/Saved Application State/com.extropy.oni.savedState",
]
end