homebrew-cask/Casks/l/lapce.rb

23 lines
640 B
Ruby

cask "lapce" do
version "0.3.1"
sha256 "a84edcbd27b339c21bae68695dd9c14fa057c824ad8c2b26f6c32c3d126fdac7"
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