phinze/homebrew-cask

View on GitHub
Casks/i/ifunbox.rb

Summary

Maintainability
A
35 mins
Test Coverage
cask "ifunbox" do
  version "1.8"
  sha256 "19bef7c6079cb3d13dc109478c473e420643e3164ed02b668f76220f60884a11"

  url "http://dl.i-funbox.com/mac/ifunboxmac.#{version}.dmg"
  name "iFunBox"
  desc "File management software for iPhone and other Apple products"
  homepage "https://www.i-funbox.com/"

  livecheck do
    url "http://dl.i-funbox.com/updates/ifunbox.mac/update.xml"
    strategy :sparkle
  end

  app "iFunBox.app"

  zap trash: [
    "~/Library/Caches/com.iFunBoxDevTeam.iFunBox",
    "~/Library/Preferences/com.iFunBoxDevTeam.iFunBox.plist",
  ]

  caveats do
    requires_rosetta
  end
end