excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wondershare-filmora.rb
blobeb40630e1c39347ce2d2c71bb706bb03052af597
1 cask "wondershare-filmora" do
2   arch arm: "arm_"
4   version "13.0.25"
5   sha256 arm:   "c7bd2b1519fed1062cf9a20a4979d9a0a0321fd172be4f3e372108b2eeadcdb9",
6          intel: "b88d2e74a2e17f963a0fbbbe4ac183a1350e4e3f0c4353e4c58d533651f0f6d7"
8   url "https://download.wondershare.com/cbs_down/filmora-mac_#{arch}#{version}_full718.dmg"
9   name "Wondershare Filmora"
10   desc "Video editor"
11   homepage "https://filmora.wondershare.com/video-editor-mac/"
13   livecheck do
14     url "https://crm.wondershare.com/api/v1/support/718/release-versions"
15     strategy :json do |json|
16       json["data"]&.map { |release| release["version_name"] }
17     end
18   end
20   depends_on macos: ">= :catalina"
22   app "Wondershare Filmora Mac.app"
24   zap trash: [
25     "/Users/Shared/wondershare.plist",
26     "~/Library/Application Support/com.wondershare.Installer",
27     "~/Library/Application Support/Wondershare Filmora 10",
28     "~/Library/Application Support/wondershare",
29     "~/Library/Caches/com.wondershare.filmoramac",
30     "~/Library/Caches/com.wondershare.Installer",
31     "~/Library/HTTPStorages/com.wondershare.filmoramac",
32     "~/Library/HTTPStorages/com.wondershare.filmoramac.binarycookies",
33     "~/Library/HTTPStorages/com.wondershare.Installer",
34     "~/Library/Preferences/com.wondershare.filmoramac.plist",
35     "~/Library/Preferences/com.wondershare.helper_compact.plist",
36     "~/Library/Preferences/com.wondershare.Installer.plist",
37     "~/Library/Saved Application State/com.wondershare.filmoramac.savedState",
38     "~/Library/Saved Application State/com.wondershare.Installer.savedState",
39     "~/Library/WebKit/com.wondershare.Installer",
40   ]
41 end