homebrew-cask/Casks/l/lapce.rb

23 lines
640 B
Ruby

cask "lapce" do
version "0.2.8"
sha256 "fa6a437f67aba1ab138eb9d627c8e2c7f80d6594182510a720aa432b83fe2c98"
url "https://github.com/lapce/lapce/releases/download/v#{version}/Lapce-macos.dmg",
verified: "github.com/lapce/lapce/"
name "Lapce"
desc "Open source code editor written in Rust"
homepage "https://lapce.dev/"
app "Lapce.app"
binary "#{appdir}/Lapce.app/Contents/MacOS/lapce"
uninstall quit: "io.lapce"
zap trash: [
"~/.lapce",
"~/Library/Application Support/dev.lapce.Lapce-Stable",
"~/Library/Application Support/Lapce",
"~/Library/Saved Application State/io.lapce.savedState",
]
end