phinze/homebrew-cask

View on GitHub
Casks/l/lapce.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "lapce" do
  version "0.4.0"
  sha256 "2db2e91891abcd2a485c0677017bfcc4cceaf599be1427961d6f597072f6b9ac"

  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