phinze/homebrew-cask

View on GitHub
Casks/r/rotki.rb

Summary

Maintainability
A
1 hr
Test Coverage
cask "rotki" do
  arch arm: "arm64", intel: "x64"

  version "1.34.3"
  sha256 arm:   "c3a84558578ed2275f94bc633674c6186d67621f41d511dc4c3ac708a972f985",
         intel: "634ae4b4e444fabc8599875765ca8631df6f4cf450b3db3c1bc033856b65b368"

  url "https://github.com/rotki/rotki/releases/download/v#{version}/rotki-darwin_#{arch}-v#{version}.dmg",
      verified: "github.com/rotki/rotki/"
  name "Rotki"
  desc "Portfolio tracking and accounting tool"
  homepage "https://rotki.com/"

  livecheck do
    url :url
    strategy :github_latest
  end

  app "rotki.app"

  zap trash: [
    "~/Library/Application Support/rotki",
    "~/Library/Preferences/com.rotki.app.plist",
    "~/Library/Saved Application State/com.rotki.app.savedState",
  ]
end