22 lines
624 B
Ruby
22 lines
624 B
Ruby
cask "fvim" do
|
|
version "0.3.433,gf48ac0e"
|
|
sha256 "2b81530634118d10ce9c626cfc1ba1e432cbcbf899b3af804fd773c5380387fe"
|
|
|
|
url "https://github.com/yatli/fvim/releases/download/v#{version.before_comma}%2B#{version.after_comma}/fvim-osx.zip"
|
|
name "FVim"
|
|
desc "GUI for the Neovim text editor"
|
|
homepage "https://github.com/yatli/fvim"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest do |page|
|
|
match = page.match(%r{href=.*?/tag/v?(\d+(?:\.\d+)+)%2B(g?\h+)["' >]}i)
|
|
"#{match[1]},#{match[2]}"
|
|
end
|
|
end
|
|
|
|
app "FVim.app"
|
|
|
|
zap trash: "~/Library/Saved Application State/com.fvim.www.savedState"
|
|
end
|